{% extends "base.html" %} | |
{% from 'macros.html' import render_form %} | |
{% block content %} | |
<h2>Sign up</h2> | |
{% include 'flash_messages.html' %} | |
{{ render_form(form, action_url=url_for('signup'), method='POST', btn_class='btn btn-primary', | |
action_text=_('sign up')) }} | |
<!-- | |
<form action="{{ url_for('signup') }}" method="POST" class="form-horizontal" role="form"> | |
{% include 'forms.html' %} | |
</form> | |
--> | |
{% endblock %} |