digitalmarketplace-frontend
Version:
Digital Marketplace Frontend contains assets and components used in Digital Marketplace projects
118 lines (106 loc) • 5.18 kB
HTML
<div class="govuk-form-group">
<fieldset class="govuk-fieldset dm-list" data-module="dm-question-list" data-max-number-of-items="5" data-number-of-items-shown-as-default="2" aria-describedby="">
<legend class="govuk-fieldset__legend govuk-fieldset__legend--m">
Here is the service question
</legend>
<div class="dm-list__items">
<div class="govuk-grid-row dm-list__item">
<div class="dm-list__item-input-column">
<div class="govuk-form-group">
<label class="govuk-label govuk-visually-hidden" for="input-example-0">
Entry number <span class="dm-list__item-label-counter">1</span>
</label>
<div class="govuk-input__wrapper">
<div class="govuk-input__prefix" aria-hidden="true">1.</div>
<input class="govuk-input dm-list__item-input" id="input-example-0" name="example" type="text">
</div>
</div>
</div>
<div class="dm-list__item-remove-column">
<button type="button" class="govuk-button govuk-button--secondary dm-list__item-remove govuk-visually-hidden" data-module="govuk-button">
Remove <span class="govuk-visually-hidden">entry number <span class="dm-list__item-remove-counter">1</span></span>
</button>
</div>
</div>
<div class="govuk-grid-row dm-list__item">
<div class="dm-list__item-input-column">
<div class="govuk-form-group">
<label class="govuk-label govuk-visually-hidden" for="input-example-1">
Entry number <span class="dm-list__item-label-counter">2</span>
</label>
<div class="govuk-input__wrapper">
<div class="govuk-input__prefix" aria-hidden="true">2.</div>
<input class="govuk-input dm-list__item-input" id="input-example-1" name="example" type="text">
</div>
</div>
</div>
<div class="dm-list__item-remove-column">
<button type="button" class="govuk-button govuk-button--secondary dm-list__item-remove govuk-visually-hidden" data-module="govuk-button">
Remove <span class="govuk-visually-hidden">entry number <span class="dm-list__item-remove-counter">2</span></span>
</button>
</div>
</div>
<div class="govuk-grid-row dm-list__item">
<div class="dm-list__item-input-column">
<div class="govuk-form-group">
<label class="govuk-label govuk-visually-hidden" for="input-example-2">
Entry number <span class="dm-list__item-label-counter">3</span>
</label>
<div class="govuk-input__wrapper">
<div class="govuk-input__prefix" aria-hidden="true">3.</div>
<input class="govuk-input dm-list__item-input" id="input-example-2" name="example" type="text">
</div>
</div>
</div>
<div class="dm-list__item-remove-column">
<button type="button" class="govuk-button govuk-button--secondary dm-list__item-remove govuk-visually-hidden" data-module="govuk-button">
Remove <span class="govuk-visually-hidden">entry number <span class="dm-list__item-remove-counter">3</span></span>
</button>
</div>
</div>
<div class="govuk-grid-row dm-list__item">
<div class="dm-list__item-input-column">
<div class="govuk-form-group">
<label class="govuk-label govuk-visually-hidden" for="input-example-3">
Entry number <span class="dm-list__item-label-counter">4</span>
</label>
<div class="govuk-input__wrapper">
<div class="govuk-input__prefix" aria-hidden="true">4.</div>
<input class="govuk-input dm-list__item-input" id="input-example-3" name="example" type="text">
</div>
</div>
</div>
<div class="dm-list__item-remove-column">
<button type="button" class="govuk-button govuk-button--secondary dm-list__item-remove govuk-visually-hidden" data-module="govuk-button">
Remove <span class="govuk-visually-hidden">entry number <span class="dm-list__item-remove-counter">4</span></span>
</button>
</div>
</div>
<div class="govuk-grid-row dm-list__item">
<div class="dm-list__item-input-column">
<div class="govuk-form-group">
<label class="govuk-label govuk-visually-hidden" for="input-example-4">
Entry number <span class="dm-list__item-label-counter">5</span>
</label>
<div class="govuk-input__wrapper">
<div class="govuk-input__prefix" aria-hidden="true">5.</div>
<input class="govuk-input dm-list__item-input" id="input-example-4" name="example" type="text">
</div>
</div>
</div>
<div class="dm-list__item-remove-column">
<button type="button" class="govuk-button govuk-button--secondary dm-list__item-remove govuk-visually-hidden" data-module="govuk-button">
Remove <span class="govuk-visually-hidden">entry number <span class="dm-list__item-remove-counter">5</span></span>
</button>
</div>
</div>
</div>
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<button type="button" class="govuk-button govuk-button--secondary dm-list__item-add govuk-visually-hidden" data-module="govuk-button">
Add another (<span class="dm-list__item-add-counter">0</span> remaining)
</button>
</div>
</div>
</fieldset>
</div>