35 lines
No EOL
1.1 KiB
HTML
35 lines
No EOL
1.1 KiB
HTML
{% extends 'manuels/base.html' %}
|
|
|
|
{% load bootstrap4 %}
|
|
{% load static %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-md-8 offset-md-2">
|
|
<h1>Bienvenue {{ teacher.full_name }}</h1>
|
|
<h2>
|
|
{% block title %}{{ verb }} {{ item }}{% endblock %}
|
|
<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>
|
|
</h2>
|
|
{% if message_template %}
|
|
{% include message_template %}
|
|
{% endif %}
|
|
<form action="" method="post" class="form">
|
|
{% csrf_token %}
|
|
{% if form %}
|
|
{% bootstrap_form form %}
|
|
{% endif %}
|
|
{% buttons %}
|
|
<button type="submit" class="btn btn-{{ button_class }}">{{ verb }}</button>
|
|
{% endbuttons %}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block end_js %}
|
|
<script src="{% static 'manuels/no_book.js' %}"></script>
|
|
{% endblock %} |