mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
42 lines
1.7 KiB
HTML
42 lines
1.7 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<h1>Edition d'une fiche d'inscription</h1>
|
|
<br>
|
|
<form action='{% url 'Subscriptions:index' %}' method="post">
|
|
{% csrf_token %}
|
|
{% with responsable=eleve.getMainGuardian %}
|
|
<ul>
|
|
<div style="margin-bottom: 15px">
|
|
<input type="hidden" name="fiche_id" value="{{ eleve.id }}">
|
|
</div>
|
|
<li style="margin-bottom: 15px"><strong>ELEVE</strong></li>
|
|
<div style="margin-bottom: 15px">
|
|
<label>Nom :</label>
|
|
<input type="text" name="nomEleve" value="{{ eleve.nom }}">
|
|
</div>
|
|
<div style="margin-bottom: 15px">
|
|
<label>Prénom :</label>
|
|
<input type="text" name="prenomEleve" value="{{ eleve.prenom }}">
|
|
</div>
|
|
<li style="margin-bottom: 15px"><strong>LISTE DES CONTACTS</strong></li>
|
|
<div style="margin-bottom: 15px">
|
|
<label>Adresse e-mail :</label>
|
|
<input type="text" name="mail" value="{{ responsable.mail }}">
|
|
</div>
|
|
<div style="margin-bottom: 15px">
|
|
<label>Numéro de téléphone :</label>
|
|
<input type="text" name="telephone" value="{{ responsable.telephone }}">
|
|
</div>
|
|
<div style="margin-bottom: 15px">
|
|
<label>Nom :</label>
|
|
<input type="text" name="nomContact" value="{{ responsable.nom }}">
|
|
</div>
|
|
<div style="margin-bottom: 15px">
|
|
<label>Prénom :</label>
|
|
<input type="text" name="prenomContact" value="{{ responsable.prenom }}">
|
|
</div>
|
|
</ul>
|
|
<input class="btn" type="submit" value="Modifier" name="valider">
|
|
{% endwith %}
|
|
</form>
|
|
{% endblock %} |