Skip to content

Commit 428ea41

Browse files
authored
Merge pull request #2825 from govuk-forms/ldeb-add-width-override-to-route-inputs
Change all goto page inputs on edit routes page to be the same width
2 parents ecfaa4f + c6e9528 commit 428ea41

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

app/views/routes/show.html.erb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@
3333
route_form.hidden_field(:id) +
3434
route_form.hidden_field(:page_id) +
3535
route_form.hidden_field(:answer_value) +
36-
route_form.govuk_select(:goto, options_for_select(route_form.object.goto_options, route_form.object.goto), label: route_form.object.label, id: route_form.field_id(:goto))
36+
route_form.govuk_select(
37+
:goto,
38+
options_for_select(route_form.object.goto_options, route_form.object.goto),
39+
label: route_form.object.label,
40+
id: route_form.field_id(:goto),
41+
class: ["govuk-!-width-full"],
42+
)
3743
end %>
3844
</li>
3945
<% end %>

0 commit comments

Comments
 (0)