<% content_for :before_content do %> <%= govuk_back_link href: @form.back_path %> <% end %>
<%= form_with model: @form, scope: :form, url: bulk_upload_lettings_log_path(id: "template"), method: :patch do |f| %> <%= f.govuk_error_summary %> <%= f.hidden_field :year %> <%= f.govuk_collection_radio_buttons :ordered_template, @form.options, :id, :name, legend: { text: "Which style of template is being uploaded?", size: "l" }, caption: { text: "Upload lettings logs in bulk (#{@form.year_combo})", size: "l" }%> <%= f.govuk_submit %> <% end %>