[MASTER BASED] add filming location field to the location releases #3

Closed
bilal.catic wants to merge 4 commits from add-filming-hours-to-the-location-release-MASTER-BASED into master
3 changed files with 1 additions and 5 deletions
Showing only changes of commit 45b7b7ad5f - Show all commits

View File

@@ -38,8 +38,6 @@
<div class="form-row">
<%= 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 %>
</div>
<div class="form-row">
<%= form.text_field :filming_hours, wrapper_class: "col-sm-12" %>
</div>
<% end %>

View File

@@ -45,8 +45,6 @@
<div class="form-row">
<%= 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 %>
</div>
<div class="form-row">
<%= form.text_field :filming_hours, wrapper_class: "col-sm-12" %>
</div>
<% end %>

View File

@@ -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