diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/events/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/_form.html.erb b/app/views/events/_form.html.erb index 98dd972..dbce3b1 100644 --- a/app/views/events/_form.html.erb +++ b/app/views/events/_form.html.erb @@ -39,7 +39,7 @@ <div> <%= form.label "Organisation", style: "display: block" %> - <%= form.select :organisation, Organisation.all.collect { |o| [ o.name, o.id ] }, include_blank: true %> + <%= form.select :organisation_id, Organisation.all.collect { |o| [ o.name, o.id ] }, include_blank: true %> </div> <div> |