From 8ba2c0def848f72c6c817fdeb0cc220d3da0d8ee Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 26 Apr 2015 17:10:50 +0200 Subject: working on register user --- templates/intro.tmpl | 3 +++ templates/login.tmpl | 2 -- templates/register.tmpl | 22 ++++++++++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 templates/register.tmpl (limited to 'templates') diff --git a/templates/intro.tmpl b/templates/intro.tmpl index 205f952..3e524c2 100644 --- a/templates/intro.tmpl +++ b/templates/intro.tmpl @@ -17,6 +17,9 @@ <% else %> If you want to edit pages, please log in here. +
+ If you don't have an account yet, you can register for + a new one here. <% end %> <% end template %> diff --git a/templates/login.tmpl b/templates/login.tmpl index 2e58888..f89cf93 100644 --- a/templates/login.tmpl +++ b/templates/login.tmpl @@ -13,8 +13,6 @@ <% form as_table login %> -
- <% end template %> diff --git a/templates/register.tmpl b/templates/register.tmpl new file mode 100644 index 0000000..e95fc69 --- /dev/null +++ b/templates/register.tmpl @@ -0,0 +1,22 @@ +<% c++ #include "user_content.hpp" %> +<% skin view %> +<% view register_user uses content::user extends master %> + +<% template title() %> + <% include master::title() %> :: Register new user +<% end %> + +<% template page_content() %> +
+
<% csrf %> + + <% form as_table register_user %> +
+
+
+ +
+<% end template %> + +<% end view %> +<% end skin %> -- cgit v1.2.3-54-g00ecf