Skip to content

Commit 4855038

Browse files
committed
Move ToS checkboxes at the end of summary page
1 parent 9052178 commit 4855038

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/views/authorization_request_forms/summary.html.erb

+4-4
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@
8484

8585
<%= render partial: 'authorization_requests/shared/organization_and_applicant' %>
8686

87-
<% if @authorization_request.draft? && !@authorization_request.reopening? %>
88-
<%= render partial: 'authorization_request_forms/shared/tos_checkboxes', locals: { f: f } %>
89-
<% end %>
90-
9187
<% if @authorization_request.filling? %>
9288
<% @authorization_request.editable_blocks.each do |block| %>
9389
<%= render partial: "authorization_requests/shared/blocks/#{block[:name]}", locals: { f: f, editable: true } %>
@@ -111,6 +107,10 @@
111107
<% end %>
112108
<% end %>
113109

110+
<% if @authorization_request.draft? && !@authorization_request.reopening? %>
111+
<%= render partial: 'authorization_request_forms/shared/tos_checkboxes', locals: { f: f } %>
112+
<% end %>
113+
114114
<% if policy(@authorization_request).submit? %>
115115
<div class="fr-btns-group fr-btns-group--inline-lg fr-btns-group--icon-left fr-btns-group--right">
116116
<%= f.button t('authorization_request_forms.form.submit'), type: :submit, name: :submit, id: :submit_authorization_request, class: %w(fr-btn fr-btn--sm fr-icon-checkbox-line fr-btn--icon-left) %>

0 commit comments

Comments
 (0)