Skip to content

Commit 72c2519

Browse files
committed
Improve styling consistency between headings
- This change improves the styling/positioning between the "Optional plan components" and "Select phase to download" headings. - Added "form-control" class to "Optional plan components" heading to match "Select phase to download" stylings - Replaced `<legend>` element with a `label_tag`+ `form-label` class to again improve consistency between the two headings. - Note, the added `label_tag` doesn't associate with any specific form control, so the first paramater is left empty.
1 parent 3246659 commit 72c2519

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/plans/_download_form.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
</div>
1717
</div>
1818
<div class="row">
19-
<div class="col-sm-12 col-lg-6">
19+
<div class="form-control col-sm-12 col-lg-6">
2020
<fieldset>
21-
<legend><%= _("Optional plan components") %></legend>
21+
<%= label_tag('', _("Optional plan components"), class: 'form-label') %>
2222
<div class="form-check">
2323
<%= label_tag 'export[project_details]', class:'form-check-label' do %>
2424
<%= check_box_tag 'export[project_details]', true, download_coversheet_tickbox_checked %>

0 commit comments

Comments
 (0)