diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-04 18:17:03 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-04 18:17:03 +0100 |
commit | 8adca327fd976b117ccfa4d69903ee24e4f9bca4 (patch) | |
tree | dda13d7cf370ab4bdc9e45029f6f391d81741b23 /templates | |
parent | 3096091f1130f36df61d0845f4e026cd970ce66c (diff) |
prepare DB schema for public registration0.04
Diffstat (limited to 'templates')
-rw-r--r-- | templates/account.html.ep | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep index e734ee0..9c3a435 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -1,17 +1,18 @@ <h1>Account</h1> +% my $acc = get_user_data(); <div class="row"> <table class="striped"> <tr> <th scope="row">Name</th> - <td><%= get_user_name() %></td> + <td><%= $acc->{name} %></td> </tr> <tr> <th scope="row">Mail</th> - <td>fnord@example.org</td> + <td><%= $acc->{email} %></td> </tr> <tr> <th scope="row">Registriert am</th> - <td>01.01.1970 00:00</td> + <td><%= $acc->{registered_at}->strftime('%d.%m.%Y %H:%M') %></td> </tr> </table> </div> |