diff options
Diffstat (limited to 'templates/headers/_display_top_nav.html.ep')
-rw-r--r-- | templates/headers/_display_top_nav.html.ep | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/headers/_display_top_nav.html.ep b/templates/headers/_display_top_nav.html.ep index 5888cb3..2b882af 100644 --- a/templates/headers/_display_top_nav.html.ep +++ b/templates/headers/_display_top_nav.html.ep @@ -6,18 +6,19 @@ %# <a href="<%= url_with($prefsurl) %>"><%= TXT 'userconfig' %></a> %# <a href="<%=$prefsurl%>?action=editaddresses&folder=<%=$folder%>&sessionid=<%=$thissession%>&sort=<%=$sort%>&firstmessage=<%=$firstmessage+1%>&lang=<%=$lang%>" ><%= TXT 'addressbook' %></a> <li> - <a href="<%= url_for('logout') %>"><%= ucfirst l 'logout' %></a> + %= link_to ucfirst(l 'logout') => 'logout' </li> <li> - <a href="<%= url_for('write') %>" ><%= ucfirst l 'compose' %></a> + %= link_to ucfirst(l 'compose') => 'write' </li> </ul> </td> <td> - <form action="<%= url_for %>"> - <label for=search><%= ucfirst l 'search' %></label>: <input type=search name=search size=8> - </form> + %= form_for '' => begin + %= label_for search => ucfirst(l 'search') . ': ' + %= search_field search => (size => 8) + % end </td> <td id=pag2> @@ -30,4 +31,4 @@ </td> </tr> -</table>
\ No newline at end of file +</table> |