15 lines
434 B
HTML
15 lines
434 B
HTML
{% load i18n %}
|
|
<form class="form form-vertical"
|
|
method="post"
|
|
{% if form_action %}action="{{ form_action }}"{% endif %}>
|
|
{% include "includes/form_errors.html" %}
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<button class="btn btn-primary" type="submit">
|
|
{% if form_submit_label %}
|
|
{{ form_submit_label }}
|
|
{% else %}
|
|
{% translate "Save" %}
|
|
{% endif %}
|
|
</button>
|
|
</form>
|