summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/dashboard/show.html.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/dashboard/show.html.tmpl b/app/views/dashboard/show.html.tmpl
index 5293117..acb0b3f 100644
--- a/app/views/dashboard/show.html.tmpl
+++ b/app/views/dashboard/show.html.tmpl
@@ -14,7 +14,11 @@
<li><strong>SparkleLab</strong></li>
</ul>
<ul>
- <li><a href="/session/new">Login</a></li>
+ <li>
+ <form action="/session/destroy" method="post">
+ <input type="submit" value="Logout">
+ </form>
+ </li>
</ul>
</nav>
{{range .Sparkles}}