Plus-value CFC-ASE

This commit is contained in:
alazo 2017-05-16 20:45:01 +02:00
parent 25ee7d2513
commit 6d55d479b3
4 changed files with 59 additions and 5 deletions

View file

@ -8,13 +8,20 @@
<div id="content-main">
<h1>{{object}}</h1>
<table>
<tr><th>Domaine</th><td>{{object.processus.domaine.url|safe}}</td></tr>
<tr><th width="100px">Domaine</th><td>{{object.processus.domaine.url|safe}}</td></tr>
<tr><th>Processus</th><td>{{object.processus.url|safe}}</td></tr>
<tr><th>Situation emblématique</th><td>{{object.situation|linebreaksbr}}</td></tr>
<tr><th>Compétences visées</th><td><p>L'éducateur social, l'éducatrice sociale:</p>
{% for c in object.competence_set.all %}- {{c.nom}} ({{c.code}})<br />
{% if user.is_authenticated %}
{% for sc in c.souscompetence_set.all %}&nbsp;&nbsp;&nbsp; -- {{sc.nom}} <br />{%endfor %}{% endif %}{% endfor %}</td></tr>
{% for c in object.competence_set.all %}- {{c.nom}} ({{c.code}})<br />{% endfor %}</td></tr>
<tr><th>Plus-value sur le CFC ASE</th><td>
{% for c in object.competence_set.all %}
{% for sc in c.souscompetence_set.all %}
- {{sc.nom}} <br />
{%endfor %}
{% endfor %}
</td></tr>
<!-- <tr><th>Ressources à acquérir</th><td>{% for c in object.ressource_set.all %}- {{c}}<br />{% endfor %}</td></tr> -->
<tr><th>Objectifs à atteindre</th><td>{% for c in object.objectif_set.all %}- {{c}}<br />{% endfor %}</td></tr>
<tr><th>Didactique</th><td>{{ object.didactique }}</td></tr>