{# -*- mode: jinja-html -*- #}
{# Chapeau description d'une formation #}

<div class="formation_descr">
    <div class="fd_d"><span class="fd_t">Titre:
        </span><span class="fd_v">{{formation.titre}}</span>
        </div>
        <div class="fd_d"><span class="fd_t">Titre officiel:</span>
        <span class="fd_v">{{formation.titre_officiel}}</span>
        </div>
        <div class="fd_d"><span class="fd_t">Acronyme:</span>
        <span class="fd_v">{{formation.acronyme}}</span>
        </div>
        <div class="fd_d"><span class="fd_t">Code:</span>
        <span class="fd_v">{{formation.formation_code}}</span>
        </div>
        <div class="fd_d"><span class="fd_t">Version:</span>
        <span class="fd_v">{{formation.version}}</span>
        </div>
        <div class="fd_d"><span class="fd_t">Type parcours:</span>
        <span class="fd_v">{{parcours.__doc__}}</span>
    </div>
    
    {% if parcours.UE_IS_MODULE %}
    <div class="fd_d"><span class="fd_t"> </span>
        <span class="fd_n">(Chaque module est une UE)</span>
    </div>
    {% endif %}

    {% if editable %}
    <div><a href="{{
        url_for('notes.formation_edit', scodoc_dept=g.scodoc_dept, 
            formation_id=formation.id)
        }}" class="stdlink">modifier ces informations</a>
    </div>
    {% endif %}
</div>