<%= form_for(@other) do |f| %> <% if @other.errors.any? %>

<%= pluralize(@other.errors.count, "error") %> prohibited this other from being saved:

<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :date %>
<%= f.date_select :date %>
<%= f.label :detail %>
<%= f.text_field :detail %>
<%= f.label :customer_id %>
<%= f.number_field :customer_id %>
<%= f.submit %>
<% end %>