From 121691e90026dcfaaecef0a1db07d40cd43a9278 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 23 Jan 2015 16:34:56 +0100 Subject: working on registration support --- themes/baggy/login.twig | 5 +++++ themes/baggy/register.twig | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 themes/baggy/register.twig (limited to 'themes/baggy') diff --git a/themes/baggy/login.twig b/themes/baggy/login.twig index 58290e9c..7906cc20 100644 --- a/themes/baggy/login.twig +++ b/themes/baggy/login.twig @@ -31,4 +31,9 @@ {% endif %} + {% if constant('ALLOW_REGISTER') == 1 %} +
+ {% trans "Register" %} +
+ {% endif %} {% endblock %} diff --git a/themes/baggy/register.twig b/themes/baggy/register.twig new file mode 100644 index 00000000..5744a481 --- /dev/null +++ b/themes/baggy/register.twig @@ -0,0 +1,25 @@ +{% extends "layout-login.twig" %} +{% block content %} + +

{% trans 'Add user' %}

+
+
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+
+ +{% endblock %} \ No newline at end of file -- cgit v1.2.3