From c6cc3f273150e8cb6dfe3ea88ffcded7ef9b8285 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Sun, 2 Jun 2013 19:42:59 +0100 Subject: [PATCH] Fix contact views. --- app/views/contacts/index.html.erb | 10 +++------- app/views/contacts/new.html.erb | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/app/views/contacts/index.html.erb b/app/views/contacts/index.html.erb index d0c4405..826c30d 100644 --- a/app/views/contacts/index.html.erb +++ b/app/views/contacts/index.html.erb @@ -1,10 +1,6 @@ -
- <%= link_to raw('about'), about_path %> -
-
- <%= link_to raw('portfolio'), :controller => 'categories' %> -
- +<% content_for :navigation do %> + <%= render 'shared/main_nav' %> +<% end %>
<% if flash[:notice] -%> diff --git a/app/views/contacts/new.html.erb b/app/views/contacts/new.html.erb index d1f8176..28e5dd3 100644 --- a/app/views/contacts/new.html.erb +++ b/app/views/contacts/new.html.erb @@ -1,10 +1,6 @@ -
- <%= link_to raw('about'), about_path %> -
-
- <%= link_to raw('portfolio'), :controller => 'categories' %> -
-
+<% content_for :navigation do %> + <%= render 'shared/main_nav' %> +<% end %>
<%= form_for :contact, :url => { :action => 'create' }, :html => { :id => 'contact_form' } do |f| %>