{% extends 'core/base.html' %} {% load static %} {% block title %}{{ room.name }} - Formation AssMat{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

{{ room.name }}

{{ room.address }}

{% if user.is_staff %}
Modifier la salle
{% endif %}
Informations
Capacité : {{ room.capacity }} personnes
{% if room.description %}
Description :

{{ room.description }}

{% endif %}
Localisation
Sessions de formation à venir
{% for session in future_sessions %}
{{ session.formation.name }}

{{ session.start_date|date:"d/m/Y" }}

{{ session.participants.count }}/{{ session.max_participants }} participants

{% empty %}
Aucune session n'est prévue dans cette salle pour le moment.
{% endfor %}
{% endblock %}