summaryrefslogtreecommitdiff
path: root/templates/account.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-04 18:17:03 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-04 18:17:03 +0100
commit8adca327fd976b117ccfa4d69903ee24e4f9bca4 (patch)
treedda13d7cf370ab4bdc9e45029f6f391d81741b23 /templates/account.html.ep
parent3096091f1130f36df61d0845f4e026cd970ce66c (diff)
prepare DB schema for public registration0.04
Diffstat (limited to 'templates/account.html.ep')
-rw-r--r--templates/account.html.ep7
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>