<% content_for :navigation do %> <%= render 'shared/main_nav' %> <% end %>
<%= form_for :contact, :url => { :action => 'create' }, :html => { :id => 'contact_form' } do |f| %> <% if flash[:notice] -%>
<%= flash[:notice] %>
<% end -%> <% if flash[:alert] -%>
<%= flash[:alert] %>
<% end -%>

Please use the form below to contact me.

<%= f.label :name %> <%= f.text_field :name %>

<%= f.label :email %> <%= f.text_field :email %>

<%= f.label :subject %> <%= f.text_field :subject %>

<%= f.label :message %> <%= f.text_area :message %>

<%= f.label "-", :style => "opacity: 0;" %> <%= f.submit 'Send Message' %>

<% end %>