We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96abdef + f811ec4 commit 59ff009Copy full SHA for 59ff009
app/views/admin/workshops/_edit_form.html.haml
@@ -5,7 +5,7 @@
5
.col-12.col-md-6
6
= render partial: 'virtual_workshop_fields', locals: { f: f }
7
8
- = f.input :organisers, collection: Member.all, value_method: :id, label_method: :full_name, selected: @workshop.organisers.map(&:id), input_html: { multiple: true }
+ = f.input :organisers, collection: @workshop.chapter.organisers, value_method: :id, label_method: :full_name, selected: @workshop.organisers.pluck(:id), input_html: { multiple: true }
9
.col-12
10
= f.input :invitable, hint_html: { class: 'd-block ms-1' }
11
.row
0 commit comments