-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
59 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<%= f.govuk_text_field :address_line_1, | ||
autocomplete: "address-line1", | ||
label: { | ||
text: "#{t('forms.address.answers.address_line_1')}<span class=\"govuk-visually-hidden\">#{ t('forms.address.answers.address_line_1_visually_hidden')}</span>".html_safe | ||
} %> | ||
|
||
<%= f.govuk_text_field :address_line_2, | ||
autocomplete: "address-line2", | ||
label: { | ||
text: "#{t('forms.address.answers.address_line_2')}<span class=\"govuk-visually-hidden\">#{ t('forms.address.answers.address_line_2_visually_hidden')}</span>".html_safe | ||
} %> | ||
|
||
<%= f.govuk_text_field :address_line_3, | ||
width: "two-thirds", | ||
autocomplete: "address-level2", | ||
label: { text: t("forms.address.answers.address_line_3") } %> | ||
|
||
<%= f.govuk_text_field :address_line_4, | ||
width: "two-thirds", | ||
autocomplete: "off", | ||
label: { text: t("forms.address.answers.address_line_4") } %> | ||
|
||
<%= f.govuk_text_field :postcode, | ||
width: 10, | ||
autocomplete: "postal-code", | ||
label: { text: t("forms.address.answers.postcode") } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
app/views/early_years_payment/practitioner/claims/email_address.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p class="govuk-body">email address page goes here</p> |
20 changes: 19 additions & 1 deletion
20
app/views/early_years_payment/practitioner/claims/enter_home_address.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
<p class="govuk-body">enter home address page goes here</p> | ||
<% content_for(:page_title, page_title(t("forms.address.questions.your_address"), journey: current_journey_routing_name, show_error: @form.errors.any?)) %> | ||
|
||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<%= form_for @form, url: claim_path(current_journey_routing_name), builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> | ||
<%= f.govuk_error_summary %> | ||
|
||
<%= f.govuk_fieldset legend: { | ||
text: t("forms.address.questions.your_address"), | ||
tag: "h1", | ||
size: "l" | ||
} do %> | ||
<%= render "address_fields", f: f %> | ||
<% end %> | ||
|
||
<%= f.govuk_submit "Continue" %> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters