Skip to content

Commit

Permalink
Change select options from 6,9,12 to 3..30
Browse files Browse the repository at this point in the history
The selector in highlighted assemblies only allowed to chose between 6,9
and 12, limiting the options of admins. This change allows for a more
flexible experience
  • Loading branch information
davidbeig committed Oct 16, 2024
1 parent 39fbb94 commit 89b7271
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<% form.fields_for :settings, form.object.settings do |settings_fields| %>
<%= settings_fields.select :max_results, [6, 9, 12], prompt: "", label: %>
<%= settings_fields.select :max_results, (3..30).step(3).to_a, prompt: "", label: %>
<% end %>

0 comments on commit 89b7271

Please sign in to comment.