diff --git a/app/views/location_releases/_form.html.erb b/app/views/location_releases/_form.html.erb index b076b95..a05652a 100644 --- a/app/views/location_releases/_form.html.erb +++ b/app/views/location_releases/_form.html.erb @@ -38,8 +38,6 @@
<%= 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 48b65c4..0dca4fd 100644 --- a/app/views/public/location_releases/new.html.erb +++ b/app/views/public/location_releases/new.html.erb @@ -45,8 +45,6 @@
<%= 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/db/migrate/20200603090419_add_filming_hours_to_location_releases.rb b/db/migrate/20200603090419_add_filming_hours_to_location_releases.rb index 589a021..f462e35 100644 --- a/db/migrate/20200603090419_add_filming_hours_to_location_releases.rb +++ b/db/migrate/20200603090419_add_filming_hours_to_location_releases.rb @@ -1,5 +1,5 @@ class AddFilmingHoursToLocationReleases < ActiveRecord::Migration[6.0] def change - add_column :location_releases, :filming_hours, :text, default: '' + add_column :location_releases, :filming_hours, :text end end