Make menu entries real links again.

This commit is contained in:
Roland Jesse 2012-04-05 22:26:51 +02:00
parent 685a6cc018
commit 3d172c19d4
3 changed files with 4 additions and 22 deletions

View file

@ -1,11 +1,3 @@
<div class="row">
<div class="twelvecol">
<div align="center">
| <%= link_to 'list of contacts',contacts_path %> |
</div>
</div>
</div>
<div class="row">
<div class="twelvecol">
<h1><%= t("birthdays.birthdays") %></h1>

View file

@ -1,14 +1,4 @@
<% title t("titles.contacts.new") %>
<div class="row">
<div class="twelvecol">
<div align="center">
| <%= link_to 'all contacts', contacts_path %>
&middot;
<%= link_to 'birthdays', birthdays_path %> |
</div>
</div>
</div>
<div class="row">
<div class="twelvecol">
<h1><%= t("contacts.new_contact") %></h1>

View file

@ -22,10 +22,10 @@
<div class="row">
<div class="threecol header_home"><span class="logo_contact">Contact</span><span class="logo_o-rama">-o-Rama</span></div>
<div class="threecol header_menu">
<a href="#">Home</a>
<a href="#">A..Z</a>
<a href="#">Birthdays</a>
<a href="#">New</a>
<%= link_to 'Home', root_path %>
<%= link_to 'A..Z', contacts_path %>
<%= link_to 'Birthdays', birthdays_path %>
<%= link_to 'New', new_contact_path %>
</div>
<div class="twocol header_search">
<%= form_tag("/search", :method => "get") do %>