diff options
author | Matthew Lemon <y@yulqen.org> | 2023-12-18 19:38:44 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-12-18 19:38:44 +0000 |
commit | 8185939b2629581dd9264dbbc37f859e19436f31 (patch) | |
tree | fdbc4f11f8d6c911ac7ebc4563254ae5299db603 /app/views/events/_form.html.erb | |
parent | 1fe9bf5c59ba9d4df5d2c917896348a0e23613a0 (diff) |
wip: stuck on notnull error...
Diffstat (limited to 'app/views/events/_form.html.erb')
-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;"%> |