2018-05-21 22:04:29 +02:00
|
|
|
{% extends 'manuels/base.html' %}
|
|
|
|
|
|
|
|
{% load bootstrap4 %}
|
2018-05-31 08:16:22 +02:00
|
|
|
{% load static %}
|
2018-05-21 22:04:29 +02:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
2018-06-03 16:38:01 +02:00
|
|
|
<div class="col-md-8 offset-md-2">
|
2018-05-21 23:12:35 +02:00
|
|
|
<h1>Bienvenue {{ teacher.full_name }}</h1>
|
2018-05-22 00:55:14 +02:00
|
|
|
<h2>
|
2018-05-31 19:11:01 +02:00
|
|
|
{% block title %}{{ verb }} {{ item }}{% endblock %}
|
2018-06-14 00:11:43 +02:00
|
|
|
<a href="{% url 'list_books' teacher.pk %}" class="btn btn-secondary">
|
|
|
|
<i class="fas fa-arrow-circle-left"></i>
|
|
|
|
Retour à la liste des {{ item_plural }}
|
|
|
|
</a>
|
2018-05-22 00:55:14 +02:00
|
|
|
</h2>
|
2018-05-30 18:14:53 +02:00
|
|
|
{% if message_template %}
|
2018-06-02 17:24:29 +02:00
|
|
|
{% include message_template %}
|
2018-05-30 18:14:53 +02:00
|
|
|
{% endif %}
|
2018-05-21 23:12:35 +02:00
|
|
|
<form action="" method="post" class="form">
|
2018-05-21 22:23:53 +02:00
|
|
|
{% csrf_token %}
|
2018-06-02 17:24:29 +02:00
|
|
|
{% if form %}
|
2018-06-15 20:41:29 +02:00
|
|
|
{% block form %}
|
|
|
|
{% endblock %}
|
2018-06-02 17:24:29 +02:00
|
|
|
{% endif %}
|
2018-05-21 22:23:53 +02:00
|
|
|
{% buttons %}
|
2018-06-17 12:26:03 +02:00
|
|
|
<button type="submit" class="btn btn-{{ button_class }}">
|
2018-06-17 12:30:28 +02:00
|
|
|
<i class="{{ button_icon }}"></i> {{ verb }}
|
2018-06-17 12:26:03 +02:00
|
|
|
</button>
|
2018-05-21 22:23:53 +02:00
|
|
|
{% endbuttons %}
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-31 08:16:22 +02:00
|
|
|
{% endblock %}
|