summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-06-12 19:00:42 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-06-12 19:00:42 +0200
commit6cee1e20ef10608ed8f37777cdb24236487377d3 (patch)
tree358b6429870449c33bed51ccc890eaac153dd74d /templates
parent08abde269b56b066f9637e764ea1550d81ce6a1d (diff)
allow users to change their name
Diffstat (limited to 'templates')
-rw-r--r--templates/account.html.ep7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep
index dd7b11a..5e30c77 100644
--- a/templates/account.html.ep
+++ b/templates/account.html.ep
@@ -7,7 +7,10 @@
<div class="col s12">
<div class="card success-color">
<div class="card-content white-text">
- % if ($success eq 'mail') {
+ % if ($success eq 'name') {
+ <span class="card-title">Name geändert</span>
+ % }
+ % elsif ($success eq 'mail') {
<span class="card-title">Mail-Adresse geändert</span>
% }
% elsif ($success eq 'password') {
@@ -41,7 +44,7 @@
<table class="striped">
<tr>
<th scope="row">Name</th>
- <td><%= $acc->{name} %></td>
+ <td><a href="/account/name"><i class="material-icons">edit</i></a><%= $acc->{name} %></td>
</tr>
<tr>
<th scope="row">Mail</th>