{% extends "jocondelab/front_notice.html" %}
{% load i18n %}

{% block title %}JocondeLab &raquo; {% trans "Contribuer" %}{% endblock %}
{% url 'front_about' as url %}
{% block breadcrumbs %}{% trans "Contribuer" %}{% endblock %}
{% block main %}
<div class="describe-mode">
    <h2 class="describe-title">{{object.titr}}</h2>
    {% block contribution %}
    <form class="contribution-frame description-frame" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false">
        <h2 class="inline">{% trans "Décrivez le sujet de cette œuvre" %} </h2><p class="inline"> Les termes proposés proviennent de Wikipédia.</p>
        <input class="notice-contribution-field" data-thesaurus-label="REPR" type="text" size="60" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" />
        <ul class="notice-term-list notice-contribution-list contribution-novote">
          {% for term in contributions %}
            {% include "jocondelab/partial/contributed_item.html" %}
          {% endfor %}
        </ul>
        
        <p class="button-links">
            {% if prev_notice %}<a href="{% url 'front_describe' prev_notice %}">{% trans 'Œuvre précédente' %}</a>{% endif %}
            <a href="{% if next_notice %}{% url 'front_describe' next_notice  %}{% else %}{% url 'random_describe' %}{% endif %}">{% trans 'Œuvre suivante' %}</a>
        </p>
    </form>
    {% endblock %}
    {% block images %}{{block.super}}{% endblock %}
    <div class="notice-colright-wrapper">
    {% block datasheet %}{{block.super}}{% endblock %}
    {% block datasheet_title %}{% endblock %}
    </div>
</div>
{% endblock %}
