{% block one_sheet %}
<div class="complete_sheet">
    <div class="left_sheet">
        <p><b>id hda</b><br/>{{ds.hda_id}}</p>
        <p><b>Titre</b><br><span class="sheet_title">{{ds.title}}</span></p>
        <p><b>Description</b><br/>{{ds.description}}</p>
        <p><b>Url</b><br/><a href="{{ds.url}}" target="_blank">{{ds.url}}</a></p>
        <p><b>Domaine artistique</b><br/>{{ds.domains_text}}</p>
        <p><b>Périodes Primaire</b><br/>{{ds.primary_periods_text}}</p>
        <p><b>Périodes Collège</b><br/>{{ds.college_periods_text}}</p>
        <p><b>Périodes Lycée</b><br/>{{ds.highschool_periods_text}}</p>
        <p><b>Liste de référence du primaire</b><br/>{{ds.primary_themes_text}}</p>
        <p><b>Thèmes Collège</b><br/>{{ds.college_themes_text}}</p>
        <p><b>Thèmes Lycée</b><br/>{{ds.highschool_themes_text}}</p>
        <p><b>Ville</b><br/>{{ds.town_text}}</p>
        <p><b>Format</b><br/>{{ds.format}}</p>
        <table><tr><th>Date de création</th><th>Date de modification</th></tr>
        <tr><td>{{ds.original_creation_date|date:"d/m/Y"}}</td><td>{{ds.modification_datetime|date:"d/m/Y"}}</td></tr></table>
        {# <p><b>original_modification_date</b><br/>{{ds.original_modification_date|date:"d/m/Y"}}</p> #}
    </div>
    <div class="right_sheet">
        <p><input type="radio" name="gr_validated{{ds.hda_id}}" id="not_validated" value="not_validated" {% if not ds.validated %}checked{% endif %} {% if valid == "2" %}disabled{% endif %} />En cours
        <input type="radio" name="gr_validated{{ds.hda_id}}" id="validated" value="validated" {% if ds.validated %}checked{% endif %} {% if valid == "2" %}disabled{% endif %} />Validé
        {% if ds.validated %}
        &nbsp;&nbsp; par {{ds.validator.username}} le {{ds.validation_date|date:"d/m/Y"}}
        {% endif %}
        {% if valid != "2" %}
        <span style="float:right;">Ajouter un tag : <input type="text" name="wp_search" id="wp_search" size="60" /> <span id="ok_search" class="hand_cursor"><b>OK</b></span></span>
        {% endif %}
        </p>
        {% csrf_token %}
        <input type="hidden" name="datasheet_id" value="{{ds.id}}" id="datasheet_id" />
        <div id="tag_table_container">
        {% include "partial/tag_table.html" %}
        </div>
    </div>
</div>
{% endblock %}
