summaryrefslogtreecommitdiff
path: root/templates/webmail/noaction.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/webmail/noaction.html.ep')
-rw-r--r--templates/webmail/noaction.html.ep10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/webmail/noaction.html.ep b/templates/webmail/noaction.html.ep
index 54a8106..2608bda 100644
--- a/templates/webmail/noaction.html.ep
+++ b/templates/webmail/noaction.html.ep
@@ -18,12 +18,12 @@
<tr>
<td class=login-form>
- <form method=post name=login1 action="<%= url_for('login') %>">
+ %= form_for login => (name => 'login1') => begin
<table>
<tr>
<td class=label-cell>
- <label for=userid><%= ucfirst l 'userid' %></label>:
+ %= label_for userid => ucfirst l 'userid'
</td>
<td>
%= text_field 'userid'
@@ -31,7 +31,7 @@
</tr>
<tr>
<td class=label-cell>
- <label for=password><%= ucfirst l 'passwd' %></label>:
+ %= label_for password => ucfirst l 'passwd'
</td>
<td>
%= password_field 'password'
@@ -39,12 +39,12 @@
</tr>
<tr class=submit-row>
<td colspan=2>
- <input type=submit value="<%= l 'login' %>">
+ %= submit_button l 'login'
</td>
</tr>
</table>
- </form>
+ % end
</td>
</tr>