app/views/decidim/meetings/admin/registrations/_form.html.erb in decidim-meetings-0.26.10 vs app/views/decidim/meetings/admin/registrations/_form.html.erb in decidim-meetings-0.27.0.rc1

- old
+ new

@@ -40,10 +40,19 @@ <%= form.number_field :reserved_slots %> <p class="help-text"><%= t(".reserved_slots_help") %></p> </div> <div class="row column"> - <%= form.translated :editor, :registration_terms, toolbar: :content %> + <%= form.check_box :customize_registration_email, :"data-toggle" => "customize_registration_email-div" %> + </div> + + <div id="customize_registration_email-div" data-toggler=".hide" class="row column <%= @form.customize_registration_email? ? nil : "hide" %>"> + <%= form.translated :editor, :registration_email_custom_content, lines: 10 %> + <p class="help-text"><%= t(".registration_email_help") %></p> + </div> + + <div class="row column"> + <%= form.translated :editor, :registration_terms %> </div> </div> </div> <%= javascript_pack_tag "decidim_meetings_admin" %>