You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
354 B
12 lines
354 B
<% form_for @person do |f| %>
|
|
<%= f.error_messages %>
|
|
<dl>
|
|
<dt><%= f.label :firstname %></dt>
|
|
<dd><%= f.text_field :firstname %></dd>
|
|
<dt><%= f.label :lastname %></dt>
|
|
<dd><%= f.text_field :lastname %></dd>
|
|
<dt><%= f.label :phone %></dt>
|
|
<dd><%= f.text_field :phone %></dd>
|
|
</dl>
|
|
<p><%= f.submit "Submit" %></p>
|
|
<% end %>
|