flask-contacts/templates/web/new_contact.html
Andros Fenollosa 3569adfd13 Add macro
2017-05-16 23:45:41 +02:00

10 lines
287 B
HTML

{% extends 'layouts/master.html' %}
{% block title %}New contact{% endblock %}
{% block body %}
<h1>New contact</h1>
<form action="{{ url_for('new_contact') }}" method="post">
{{ generate_fields(form) }}
<input type="submit" class="btn btn-success" value="Add">
</form>
{% endblock %}