22 lines
No EOL
731 B
HTML
22 lines
No EOL
731 B
HTML
{% extends 'manuels/base.html' %}
|
|
|
|
{% load bootstrap4 %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<h1>Bienvenue {{ teacher.full_name }}</h1>
|
|
<h2>
|
|
{% block title %}Ajouter {{ item }}{% endblock %}
|
|
<a href="{% url 'list_books' teacher.pk %}" class="btn btn-secondary">Retour à la liste</a>
|
|
</h2>
|
|
<form action="" method="post" class="form">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
{% buttons %}
|
|
<button type="submit" class="btn btn-primary">Valider</button>
|
|
{% endbuttons %}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |