<% if meeting.component.settings.registration_code_enabled %>

<%= t(".validate_registration_code") %>

<%= decidim_form_for(@validation_form, url: validate_registration_code_meeting_registrations_path, html: { class: "form validate_meeting_registration_code" }) do |f| %>
<%= f.text_field :code %>
<%= f.submit t(".validate") %>
<% end %>
<% end %> <%= decidim_form_for(@form, url: meeting_registrations_path, html: { class: "form edit_meeting_registrations" }) do |f| %> <%= render partial: "form", object: f %>
<%= f.submit t(".save") %>
<% end %>