1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Fix contact views.

This commit is contained in:
Dan Barber 2013-06-02 19:42:59 +01:00
parent bb97a18eae
commit c6cc3f2731
2 changed files with 6 additions and 14 deletions

View File

@ -1,10 +1,6 @@
<div class="sg-5 about">
<%= link_to raw('<span>about</span>'), about_path %>
</div>
<div class="sg-5 portfolio">
<%= link_to raw('<span>portfolio</span>'), :controller => 'categories' %>
</div>
</div>
<% content_for :navigation do %>
<%= render 'shared/main_nav' %>
<% end %>
<div class="sg-17 contact-form">
<% if flash[:notice] -%>

View File

@ -1,10 +1,6 @@
<div class="sg-5 about">
<%= link_to raw('<span>about</span>'), about_path %>
</div>
<div class="sg-5 portfolio">
<%= link_to raw('<span>portfolio</span>'), :controller => 'categories' %>
</div>
</div>
<% content_for :navigation do %>
<%= render 'shared/main_nav' %>
<% end %>
<div class="sg-17 contact-form">
<%= form_for :contact, :url => { :action => 'create' }, :html => { :id => 'contact_form' } do |f| %>