app/views/productions/_form.html.erb
<%= form_for(@production) do |f| %>
<% if @production.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@production.errors.count, "error") %> prohibited this production from being saved:</h2>
<ul>
<% @production.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>
<p class="top_border">
<%= f.label :name %><br>
<%= f.text_field :name, :placeholder => 'Enter Name Here', :id => "text-field" %>
</p>
<div class="field">
<%= f.label :company %><br>
<%= f.text_field :company, :placeholder => 'Enter Company Here', :id => "text-field" %>
</div>
<div class="field">
<%= f.label :opening_date %><br>
<%= f.datetime_select :opening_date, :placeholder => 'Enter Date Here', :id => "text-field" %>
</div>
<div class="actions">
<%= f.submit %>
</div>
<% end %>