aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/events/_form.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/_form.html.erb')
-rw-r--r--app/views/events/_form.html.erb5
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;"%>