44 lines
885 B
Plaintext
44 lines
885 B
Plaintext
<h1>Editing sheet_year</h1>
|
|
|
|
<% form_for(@sheet_year) do |f| %>
|
|
<%= f.error_messages %>
|
|
|
|
<p>
|
|
<%= f.label :join_type %><br />
|
|
<%= f.text_field :join_type %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :gift_year %><br />
|
|
<%= f.check_box :gift_year %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :benefactor %><br />
|
|
<%= f.check_box :benefactor %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :paid_at %><br />
|
|
<%= f.date_select :paid_at %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :amount %><br />
|
|
<%= f.text_field :amount %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :payment_type %><br />
|
|
<%= f.text_field :payment_type %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :bank %><br />
|
|
<%= f.text_field :bank %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :check_number %><br />
|
|
<%= f.text_field :check_number %>
|
|
</p>
|
|
<p>
|
|
<%= f.submit 'Update' %>
|
|
</p>
|
|
<% end %>
|
|
|
|
<%= link_to 'Show', @sheet_year %> |
|
|
<%= link_to 'Back', sheet_years_path %> |