diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-01 22:06:03 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-01 22:06:03 +0200 |
commit | 72ae9b3f63ddbe296f3e4e8f8db2d29303163d68 (patch) | |
tree | f0db960b784719df0c7318720880c73b5330b937 /templates/headers/_display_top_nav.html.ep | |
parent | 7c8bd21ccbca8a3166289ab0e5511cc82d2822aa (diff) |
use more tag helpers in templates
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> |