Skip to content

Commit

Permalink
Fix incorrect elements potentially showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Mar 14, 2024
1 parent 221b89e commit 85dee9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/index_pages/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
%h5 Elements

.mb-3
- current_institution.registered_elements.order(:label).each do |re|
- f.object.institution.registered_elements.order(:label).each do |re|
.form-check
= check_box_tag "registered_element_ids[]", re.id,
f.object.registered_elements.find_by_id(re.id),
Expand Down

0 comments on commit 85dee9b

Please sign in to comment.