Initial commit
This commit is contained in:
20
templates/security/register_user.html
Normal file
20
templates/security/register_user.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends "base.html" %}
|
||||
{% set page_title = 'Registration' %}
|
||||
{% from "_formhelpers.html" import render_field, render_submit %}
|
||||
{% from "_socialhelpers.html" import social_register %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container-fluid">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<form action="{{ url_for_security('register') }}" method="POST" class="form-horizontal">
|
||||
{{ register_user_form.hidden_tag() }}
|
||||
{{ render_field(register_user_form.email) }}
|
||||
{{ render_field(register_user_form.password) }}
|
||||
{{ render_submit() }}
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
{{ social_register('facebook', 'Facebook') }}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user