summaryrefslogtreecommitdiff
path: root/app/views/common
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-04 18:48:38 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-04 18:48:38 -0500
commitcde35e3461bf49a4b32aefca7b8556e344c8090e (patch)
treede105e188b5e346043795b616939030fa7a7a37e /app/views/common
parent28f7378d7d2bc2d79fa52f3dcedb734a543f69be (diff)
login/logout buttons
Diffstat (limited to 'app/views/common')
-rw-r--r--app/views/common/_signout.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/common/_signout.html.erb b/app/views/common/_signout.html.erb
new file mode 100644
index 0000000..2bdda0c
--- /dev/null
+++ b/app/views/common/_signout.html.erb
@@ -0,0 +1,5 @@
+<%=
+form_tag(sessions_path+"/current", method: "delete") do
+ submit_tag("Sign out", :class => "signout")
+end
+%>