From 714f3e2191016ec64ec0f976533ba04b8643ae66 Mon Sep 17 00:00:00 2001 From: bilal Date: Wed, 3 Jun 2020 09:18:32 +0200 Subject: [PATCH] add filming hours field to the location release forms (new and import) --- app/views/location_releases/_form.html.erb | 3 +++ app/views/public/location_releases/new.html.erb | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/views/location_releases/_form.html.erb b/app/views/location_releases/_form.html.erb index 33aeb45..b076b95 100644 --- a/app/views/location_releases/_form.html.erb +++ b/app/views/location_releases/_form.html.erb @@ -39,6 +39,9 @@ <%= form.text_field :filming_started_on, wrapper_class: "col-sm-6", class: "datepicker-control", readonly: true %> <%= form.text_field :filming_ended_on, wrapper_class: "col-sm-6", class: "datepicker-control", readonly: true %> +
+ <%= form.text_field :filming_hours, wrapper_class: "col-sm-12" %> +
<% end %>
diff --git a/app/views/public/location_releases/new.html.erb b/app/views/public/location_releases/new.html.erb index 2e3625e..48b65c4 100644 --- a/app/views/public/location_releases/new.html.erb +++ b/app/views/public/location_releases/new.html.erb @@ -46,6 +46,9 @@ <%= form.text_field :filming_started_on, wrapper_class: "col-sm-6", class: "datepicker-control", readonly: true %> <%= form.text_field :filming_ended_on, wrapper_class: "col-sm-6", class: "datepicker-control", readonly: true %> +
+ <%= form.text_field :filming_hours, wrapper_class: "col-sm-12" %> +
<% end %> <%= card_field_set_tag t(".signature.heading") do %>