aboutsummaryrefslogtreecommitdiff
path: root/web/templates/signup.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-25 22:45:43 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-25 22:45:43 +0100
commitb2618e9404b84cc62d4becb02436233a0d53b375 (patch)
treea31f2dc76d23967fa0243374cf475923a4b7e451 /web/templates/signup.html
parentUpdated default platform URL (for Heroku...). (diff)
downloadnewspipe-b2618e9404b84cc62d4becb02436233a0d53b375.tar.gz
newspipe-b2618e9404b84cc62d4becb02436233a0d53b375.tar.bz2
newspipe-b2618e9404b84cc62d4becb02436233a0d53b375.zip
Rfactorization. Just a start...
Diffstat (limited to 'web/templates/signup.html')
-rw-r--r--web/templates/signup.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/web/templates/signup.html b/web/templates/signup.html
new file mode 100644
index 00000000..3962c42a
--- /dev/null
+++ b/web/templates/signup.html
@@ -0,0 +1,26 @@
+{% extends "layout.html" %}
+{% block content %}
+<div class="container">
+ <div class="form well">
+ <form action="" method="post" name="save">
+ {{ form.hidden_tag() }}
+ <div class="form-group">
+ {{ form.nickname.label }}
+ {{ form.nickname(class_="form-control") }} {% for error in form.nickname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+ <p class="help-block">{{ _('Letters, numbers, dots and underscores only.') }}</p>
+ </div>
+ {{ form.email.label }}
+ {{ form.email(class_="form-control") }} {% for error in form.email.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+ <div class="form-group">
+ {{ form.password.label }}
+ {{ form.password(class_="form-control") }} {% for error in form.password.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+ <p class="help-block">{{ _('Minimum 6 characters.') }}</p>
+ </div>
+ {{ form.recaptcha.label }}
+ {{ form.recaptcha }} {% for error in form.recaptcha.errors %} <span style="color: red;">{{ error }}<br /></span> {% endfor %}
+ <br />
+ {{ form.submit(class_="btn btn-default") }}
+ </form>
+ </div>
+</div><!-- /.container -->
+{% endblock %}
bgstack15