summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-05-01 12:32:45 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-05-01 12:32:45 +0200
commit5d4b181fd85ce6379ec05c1e9e24d0fc94fd8b60 (patch)
treefcd9efca6750bb713b392af0d551d5836ddbc6d6 /templates
parent536cc69836d758ab7d156115ce296a3a25ce8aac (diff)
downloadaCms-5d4b181fd85ce6379ec05c1e9e24d0fc94fd8b60.tar.gz
aCms-5d4b181fd85ce6379ec05c1e9e24d0fc94fd8b60.tar.bz2
small template changes
Diffstat (limited to 'templates')
-rw-r--r--templates/login.tmpl13
-rw-r--r--templates/master.tmpl3
2 files changed, 10 insertions, 6 deletions
diff --git a/templates/login.tmpl b/templates/login.tmpl
index f89cf93..d4cc8a2 100644
--- a/templates/login.tmpl
+++ b/templates/login.tmpl
@@ -8,11 +8,14 @@
<% template page_content() %>
<div>
- <form method="post" action=""><% csrf %>
- <table>
- <% form as_table login %>
- </table>
- </form>
+ <form method="post" action=""><% csrf %>
+ <table>
+ <% form as_table login %>
+ </table>
+ </form>
+ </div>
+ <div>
+ Register for a new account <a href="<%= register_link %>">here</a>.
</div>
<% end template %>
diff --git a/templates/master.tmpl b/templates/master.tmpl
index 220e840..8db6b6a 100644
--- a/templates/master.tmpl
+++ b/templates/master.tmpl
@@ -32,7 +32,8 @@
<div id="content">
<h2><% include title( ) %></h2>
<% if not empty username %>
- <p>Logged in as <%= username %><p>
+ <p>Logged in as <%= username %>
+ <a href="<%= logout_link %>">Logout</a></p>
<% else %>
<p>Currently not logged in</p>
<% end %>