summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/account.html.ep4
-rw-r--r--templates/change_mail.html.ep2
-rw-r--r--templates/change_password.html.ep2
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep
index 38ffecb..7baacbe 100644
--- a/templates/account.html.ep
+++ b/templates/account.html.ep
@@ -30,11 +30,11 @@
</tr>
<tr>
<th scope="row">Mail</th>
- <td><a href="/change_mail"><i class="material-icons">edit</i></a><%= $acc->{email} %></td>
+ <td><a href="/account/mail"><i class="material-icons">edit</i></a><%= $acc->{email} %></td>
</tr>
<tr>
<th scope="row">Passwort</th>
- <td><a href="/change_password"><i class="material-icons">edit</i></a></td>
+ <td><a href="/account/password"><i class="material-icons">edit</i></a></td>
</tr>
<tr>
<th scope="row">Öffentliche Daten</th>
diff --git a/templates/change_mail.html.ep b/templates/change_mail.html.ep
index 6fde245..65d3d8d 100644
--- a/templates/change_mail.html.ep
+++ b/templates/change_mail.html.ep
@@ -20,7 +20,7 @@
% }
<h1>Mail ändern</h1>
-%= form_for '/change_mail' => (method => 'POST') => begin
+%= form_for '/account/mail' => (method => 'POST') => begin
%= csrf_field
<div class="row">
<div class="input-field col s12">
diff --git a/templates/change_password.html.ep b/templates/change_password.html.ep
index fa03e28..29aa621 100644
--- a/templates/change_password.html.ep
+++ b/templates/change_password.html.ep
@@ -3,7 +3,7 @@
% }
<h1>Passwort ändern</h1>
-%= form_for '/change_password' => (method => 'POST') => begin
+%= form_for '/account/password' => (method => 'POST') => begin
%= csrf_field
<div class="row">
<div class="input-field col s12">