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| %>