Skip to content

Commit

Permalink
Amend upload page header and remove file upload field label
Browse files Browse the repository at this point in the history
  • Loading branch information
steventux committed Aug 7, 2023
1 parent a2e9e91 commit 9d96411
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions app/views/support_interface/uploads/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds-from-desktop">
<h1 class="govuk-heading-l">Check the Children’s Barred List</h1>

<h2 class="govuk-heading-m">Upload file</h2>

<%= form_with model: @upload_form, url: [:support_interface, :uploads] do |f| %>
<%= f.govuk_error_summary %>
<%= f.govuk_file_field :file,
accept: "text/csv",
label: { text: "Select a file to upload", class: "govuk-heading-m" },
hint: { text: "You should upload your files in CSV format." } %>
label: { text: "Upload records (CSV)", size: "l" },
accept: "text/csv" %>
<%= f.govuk_submit "Upload file" %>
<% end %>
Expand Down

0 comments on commit 9d96411

Please sign in to comment.