site_tps/templates/edit.html

19 lines
432 B
HTML
Raw Normal View History

2018-01-30 22:04:06 +00:00
{% extends 'base.html' %}
2018-02-12 08:16:25 +00:00
{% load bootstrap3 %}
2018-01-30 22:04:06 +00:00
{% block content %}
{% if title %}
<h1>{{title}}</h1>
{% endif %}
2018-01-30 22:04:06 +00:00
<form action="" method="post">{% csrf_token %}
2018-02-12 08:16:25 +00:00
{% bootstrap_form form %}
<button type="submit" class="btn btn-primary">
{% bootstrap_icon "star" %}
{% if validate %}
{{validate}}
{% else %}
Mettre à jour
{% endif %}
</button>
2018-01-30 22:04:06 +00:00
</form>
{% endblock %}