diff options
Diffstat (limited to 'app/views/events')
-rw-r--r-- | app/views/events/_form.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/events/_form.html.erb b/app/views/events/_form.html.erb index 2a41eec..98dd972 100644 --- a/app/views/events/_form.html.erb +++ b/app/views/events/_form.html.erb @@ -36,6 +36,11 @@ <%= form.label "Event name", style: "display: block" %> <%= form.text_field :name %> </div> + + <div> + <%= form.label "Organisation", style: "display: block" %> + <%= form.select :organisation, Organisation.all.collect { |o| [ o.name, o.id ] }, include_blank: true %> + </div> <div> <%= form.submit style: "background: green; color: white; margin-top: 1.1em;"%> |