Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%#
- # To change this template, choose Tools | Templates
- # and open the template in the editor.
- %>
- <% form_for(@contact) do |form| %>
- <fieldset>
- <legend>Please enter contact details</legend>
- <div>
- <%= form.label :name, "Name:" %>
- <%= form.text_field :name, %>
- </div>
- <div>
- <%= form.label :nickname, "Nickname:" %>
- <%= form.text_field :nickname, :size => 40 %>
- </div>
- <div>
- <%= form.label :company, "Company:" %>
- <%= form.text_field :company, :size => 40 %>
- </div>
- <div>
- <%= form.label :email, "Email:" %>
- <%= form.text_field :email, :size => 40 %>
- </div>
- <div>
- <%= form.label :phone_number, "Phone number:" %>
- <%= form.text_field :phone_number, :size => 40 %>
- </div>
- <div>
- <%= form.label :address, "Address:" %>
- <%= form.text_area :address, :rows => 3, :cols => 40 %>
- </div>
- <div>
- <%= form.label :messenger_name, "MSN:" %>
- <%= form.text_field :messenger_name, :rows => 3, :cols => 40 %>
- </div>
- <div>
- <%= form.label :information, "Information:" %>
- <%= form.text_area :information, :rows => 3, :cols => 40 %>
- </div>
- <div>
- <%= f.submit "Add contact" %>
- </div>
- </fieldset>
- <% end %>
Add Comment
Please, Sign In to add comment