Sha256: 14b015d82591bba412998ad5881c5abdc723c9c168c732c6435f2a7af125f665

Contents?: true

Size: 1.86 KB

Versions: 2

Compression:

Stored size: 1.86 KB

Contents

<div class="govuk-form-group">
    <fieldset class="govuk-fieldset" role="group" aria-describedby="employee_dob_hint">
        <legend class="govuk-fieldset__legend govuk-fieldset__legend--xl">
            <h1 class="govuk-fieldset__heading">
                Date of birth
            </h1>
        </legend>
        <span class="govuk-hint" id="employee_dob_hint">For example, 12 11 2007</span>
        <div class="govuk-date-input" id="employee_dob">
            <div class="govuk-date-input__item">
                <div class="govuk-form-group">
                    <label class="govuk-label govuk-date-input__label" for="employee_dob_dd">
                        Day
                    </label>
                    <input class="govuk-input govuk-date-input__input govuk-input--width-2" id="employee_dob_dd" name="employee[dob_dd]" value="7" type="number" pattern="[0-9]*">
                </div>
            </div>
            <div class="govuk-date-input__item">
                <div class="govuk-form-group">
                    <label class="govuk-label govuk-date-input__label" for="employee_dob_mm">
                        Month
                    </label>
                    <input class="govuk-input govuk-date-input__input govuk-input--width-2" id="employee_dob_mm" name="employee[dob_mm]" value="12" type="number" pattern="[0-9]*">
                </div>
            </div>
            <div class="govuk-date-input__item">
                <div class="govuk-form-group">
                    <label class="govuk-label govuk-date-input__label" for="employee_dob_yyyy">
                        Year
                    </label>
                    <input class="govuk-input govuk-date-input__input govuk-input--width-4" id="employee_dob_yyyy" name="employee[dob_yyyy]" value="1963" type="number" pattern="[0-9]*">
                </div>
            </div>
        </div>
    </fieldset>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gov_uk_date_fields-4.0.1 test/dummy/test/fixtures/files/date_fields_no_error.html
gov_uk_date_fields-4.0.0 test/dummy/test/fixtures/files/date_fields_no_error.html