You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
742 B
21 lines
742 B
2 years ago
|
<% content_for :before_content do %>
|
||
|
<%= govuk_back_link href: @form.back_path %>
|
||
|
<% end %>
|
||
|
<div class="govuk-grid-row">
|
||
|
<div class="govuk-grid-column-two-thirds-from-desktop">
|
||
|
<%= 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 %>
|
||
|
</div>
|
||
|
</div>
|