From 867a5d4afbb3a5c0ad0e5dfbc10d2516e3e9123f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 30 Apr 2019 12:08:51 +0200 Subject: allow users to change their mail address Closes #6 --- templates/account.html.ep | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'templates/account.html.ep') diff --git a/templates/account.html.ep b/templates/account.html.ep index ca43340..92b61db 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -2,6 +2,23 @@ %= include '_invalid_input', invalid => $invalid % } +% if (my $success = flash('success')) { +
+
+
+
+ % if ($success eq 'mail') { + Mail-Adresse erfolgreich geändert + % } + % elsif ($success eq 'password') { + Passwort erfolgreich geändert + % } +
+
+
+
+% } +

Account

% my $acc = current_user();
@@ -13,11 +30,11 @@ Mail - <%= $acc->{email} %> + <%= $acc->{email} %>edit ändern Passwort - ändern + edit ändern Registriert am -- cgit v1.2.3