Skip to content

Commit

Permalink
fix: Refactor signup form view
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Dec 1, 2023
1 parent 496316b commit 1b387cc
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions app/views/decidim/devise/registrations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@
</div>
</div>

<div class="field">
<%= f.check_box :certification, label: t(".certification") %>
</div>
</div>
</div>

<div class="card" id="card__newsletter">
<div class="card__content">
<h3><%= t(".newsletter_title") %></h3>
<div class="field">
<%= f.check_box :newsletter, label: t(".newsletter"), checked: @form.newsletter %>
</div>

<div class="field">
<%== f.check_box :news_cese, label: t(".news_cese") %>
Expand All @@ -117,10 +117,6 @@
<div class="field">
<%= f.check_box :tos_agreement, label: t(".tos_agreement", link: link_to(t(".terms"), page_path("terms-and-conditions"))) %>
</div>

<div class="field">
<%= f.check_box :certification, label: t(".certification") %>
</div>
</div>
</div>

Expand Down

0 comments on commit 1b387cc

Please sign in to comment.