diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/login.tmpl | 13 | ||||
-rw-r--r-- | templates/master.tmpl | 3 |
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 %> |