1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-22 08:38:21 +02:00

Display photo authorization templates

This commit is contained in:
Yohann D'ANELLO
2020-09-24 22:55:04 +02:00
parent 468295f648
commit 698fc46072
2 changed files with 55 additions and 28 deletions

View File

@ -1,10 +1,17 @@
{% extends "base.html" %}
{% load i18n crispy_forms_filters %}
{% load i18n static crispy_forms_filters %}
{% block content %}
<a class="btn btn-info" href="{% url "registration:user_detail" pk=object.user.pk %}"><i class="fas fa-arrow-left"></i> {% trans "Back to the user detail" %}</a>
<hr>
<form method="post" enctype="multipart/form-data">
<div id="form-content">
<div class="alert alert-info">
{% trans "Authorzation templates:" %}
<a class="alert-link" href="{% static "Autorisation de droit à l'image - majeur.pdf" %}">{% trans "Adult" %}</a>
<a class="alert-link" href="{% static "Autorisation de droit à l'image - mineur.pdf" %}">{% trans "Child" %}</a>
</div>
{% csrf_token %}
{{ form|crispy }}
</div>