%= form_for(@customer) do |f| %> <% if @customer.errors.any? %>
物件名
<%= trans.text_field :name %>開始日
<%= trans.date_field :start %>終了日
<%= trans.date_field :expire %>契約種別
<%= trans.text_field :payment %>支払日
<%= trans.text_field :payday %>月額
<%= trans.text_field :amount %>総額
<%= trans.text_field :amount_all %>注釈
<%= trans.text_field :detail %>