View
Erb
code posted
created at 25 Aug 21:36
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
<div class="form_row"> <% form_tag '/contact/create' do %> <fieldset> <legend><%= @title %></legend> <p><label for="contact_name">Name</label> <%= text_field :contact, :name %> <%= error_message_on(@contact, :name) %></p> <p><label for="contact_email">Email</label> <%= text_field :contact, :email %> <%= error_message_on(@contact, :email) %></p> <p><label for="contact_phone">Phone</label> <%= text_field :contact, :phone %> <%= error_message_on(@contact, :phone) %></p> <p><label for="contact_message">Message</label> <%= text_field :contact, :message %> <%= error_message_on(@contact, :message) %></p> <p><%= submit_tag 'Submit', :class => "submit" %></p> </fieldset> <% end %> </div> |
837 Bytes in 3 ms with coderay