site_tps/templates/edit.html
Hugo LEVY-FALK 2dd816b850 Bootstrap 4
2018-02-12 09:16:25 +01:00

18 lines
432 B
HTML

{% extends 'base.html' %}
{% load bootstrap3 %}
{% block content %}
{% if title %}
<h1>{{title}}</h1>
{% endif %}
<form action="" method="post">{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-primary">
{% bootstrap_icon "star" %}
{% if validate %}
{{validate}}
{% else %}
Mettre à jour
{% endif %}
</button>
</form>
{% endblock %}