From 518b8271eda7c974443f4a8203ab6db8ae8e74e5 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 18 Apr 2015 17:43:27 +0200 Subject: playing with a login form --- templates/login.tmpl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/login.tmpl (limited to 'templates/login.tmpl') diff --git a/templates/login.tmpl b/templates/login.tmpl new file mode 100644 index 0000000..0082e49 --- /dev/null +++ b/templates/login.tmpl @@ -0,0 +1,18 @@ +<% c++ #include "user_content.hpp" %> +<% skin view %> +<% view login uses content::user extends master %> + +<% template title() %> + <% include master::title() %> :: Login +<% end %> + +<% template page_content() %> +
+
<% csrf %> + <% form as_p login %> +
+
+<% end template %> + +<% end view %> +<% end skin %> -- cgit v1.2.3-54-g00ecf