Skip to content

Commit

Permalink
Ignore selectors for abide form validation (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbeig authored Dec 10, 2024
1 parent 5513216 commit 60cf66c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/decidim/centers/_registration_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="card">
<div class="card__content card__centers">
<div class="field">
<%= f.collection_select :center_id, f.object.center_options_for_select, :first, :last %>
<%= f.collection_select :center_id, f.object.center_options_for_select, :first, :last, {}, { data: { abide_ignore: true, }, required: true } %>

<% if Decidim::Centers.roles_enabled %>
<%= f.collection_select :role_id, f.object.role_options_for_select, :first, :last %>
<%= f.collection_select :role_id, f.object.role_options_for_select, :first, :last, {}, { data: { abide_ignore: true, }, required: true } %>
<% end %>

<% if Decidim::Centers.scopes_enabled %>
Expand Down

0 comments on commit 60cf66c

Please sign in to comment.