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.

32 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>
13 years ago
<%= f.label :name, 'Your name' %>
<%= f.text_field :name %>
</p>
<p>
13 years ago
<%= f.label :email, 'Your email' %>
<%= f.text_field :email %>
</p>
<p>
13 years ago
<%= f.label :file %>
<%= f.file_field :file %>
13 years ago
<i>can be attached optionally</i>
</p>
<p>
13 years ago
<%= f.label :message %>
<%= f.text_area :message, :rows => 10 %>
</p>
13 years ago
<p><%= f.submit 'Send', :class => 'btn-primary' %></p>
<% end %>