24 lines
456 B
Plaintext
24 lines
456 B
Plaintext
<h1>Editing signer</h1>
|
|
|
|
<% form_for(@signer) do |f| %>
|
|
<%= f.error_messages %>
|
|
|
|
<p>
|
|
<%= f.label :first_name %><br />
|
|
<%= f.text_field :first_name %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :last_name %><br />
|
|
<%= f.text_field :last_name %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :cosigner %><br />
|
|
<%= f.text_field :cosigner %>
|
|
</p>
|
|
<p>
|
|
<%= f.submit 'Update' %>
|
|
</p>
|
|
<% end %>
|
|
|
|
<%= link_to 'Show', @signer %> |
|
|
<%= link_to 'Back', signers_path %> |