Skip to content

Commit

Permalink
Déplace les CGU dans un panel dédié dans le formulaire nouvelle struc…
Browse files Browse the repository at this point in the history
…ture
  • Loading branch information
etienneCharignon committed Dec 8, 2023
1 parent 99dd6ff commit c276810
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/views/nouvelles_structures/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
<%= compte.input :email %>
<%= compte.input :password %>
<%= compte.input :password_confirmation, required:true, wrapper_html: { class: 'libelle-long' } %>
<%= render partial: "admin/comptes/demande_acceptation_cgu_creation_compte", locals: { scope: 'creation_compte' } %>
<%= compte.input :cgu_acceptees, label: t('creation_compte.cgu_acceptees'), required: true %>
<% end %>
</div>
<div class="panel">
Expand All @@ -34,6 +32,12 @@
<% end %>
</div>
<% end %>
<div class="panel">
<%= compte.inputs do %>
<%= render partial: "admin/comptes/demande_acceptation_cgu_creation_compte", locals: { scope: 'creation_compte' } %>
<%= compte.input :cgu_acceptees, label: t('creation_compte.cgu_acceptees'), required: true %>
<% end %>
</div>
<div class="panel">
<%= md t('.actions.validation') %>
<%= compte.actions do %>
Expand Down

0 comments on commit c276810

Please sign in to comment.