From 72ae9b3f63ddbe296f3e4e8f8db2d29303163d68 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 1 May 2022 22:06:03 +0200 Subject: use more tag helpers in templates --- templates/headers/_display_top_nav.html.ep | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'templates/headers/_display_top_nav.html.ep') 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 @@ %# <%= TXT 'userconfig' %> %# <%= TXT 'addressbook' %>
  • - <%= ucfirst l 'logout' %> + %= link_to ucfirst(l 'logout') => 'logout'
  • - <%= ucfirst l 'compose' %> + %= link_to ucfirst(l 'compose') => 'write'
  • -
    - : -
    + %= form_for '' => begin + %= label_for search => ucfirst(l 'search') . ': ' + %= search_field search => (size => 8) + % end @@ -30,4 +31,4 @@ - \ No newline at end of file + -- cgit v1.2.3