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.
31 lines
635 B
31 lines
635 B
<%= form_for @contact_form, :url => {:action => 'contact'}, :method => 'post' do |f| %> |
|
<%= error_messages_for(@contact_form) %> |
|
|
|
<div style="display:none;"> |
|
<%= f.text_field :nickname %> |
|
</div> |
|
|
|
<p> |
|
<%= f.label :name, 'Your name' %> |
|
<%= f.text_field :name %> |
|
</p> |
|
|
|
<p> |
|
<%= f.label :email, 'Your email' %> |
|
<%= f.text_field :email %> |
|
</p> |
|
|
|
<p> |
|
<%= f.label :file %> |
|
<%= f.file_field :file %> |
|
<i>can be attached optionally</i> |
|
</p> |
|
|
|
<p> |
|
<%= f.label :message %> |
|
<%= f.text_area :message, :rows => 10 %> |
|
</p> |
|
|
|
<p><%= f.submit 'Send', :class => 'btn-primary' %></p> |
|
|
|
<% end %>
|
|
|