diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-01 22:35:48 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-01 22:35:48 +0200 |
commit | ebe37a68d39dbc1cc4f6af1c05301d5a5fc29c13 (patch) | |
tree | 0cead85194cb0d775b024132f4d29b55d6d854e0 /templates | |
parent | 72ae9b3f63ddbe296f3e4e8f8db2d29303163d68 (diff) |
mostly renamed 'noaction' to 'login'
be carefult with GET vs POST
Diffstat (limited to 'templates')
-rw-r--r-- | templates/not_found_.html.ep | 4 | ||||
-rw-r--r-- | templates/webmail/about.html.ep | 2 | ||||
-rw-r--r-- | templates/webmail/login.html.ep (renamed from templates/webmail/noaction.html.ep) | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/not_found_.html.ep b/templates/not_found_.html.ep index d1b353f..b96e46e 100644 --- a/templates/not_found_.html.ep +++ b/templates/not_found_.html.ep @@ -9,8 +9,8 @@ Not the page you are looking for. </p> <p class=center> - Go back or go to the <a href="<%= url_for 'noaction' %>">start page</a>. + Go back or go to the <%= link_to 'start page' => 'login' %>. </p> </body> -</html>
\ No newline at end of file +</html> diff --git a/templates/webmail/about.html.ep b/templates/webmail/about.html.ep index 60fe549..5cee603 100644 --- a/templates/webmail/about.html.ep +++ b/templates/webmail/about.html.ep @@ -64,7 +64,7 @@ <tr> <td> <nav> - %= button_to login => 'noaction' => (class => 'link-btn') + %= button_to login => 'login' => (class => 'link-btn') </nav> </td> </tr> diff --git a/templates/webmail/noaction.html.ep b/templates/webmail/login.html.ep index 2608bda..4b2da5d 100644 --- a/templates/webmail/noaction.html.ep +++ b/templates/webmail/login.html.ep @@ -18,7 +18,7 @@ <tr> <td class=login-form> - %= form_for login => (name => 'login1') => begin + %= form_for login => (name => 'login1') => (method => 'post') => begin <table> <tr> |