{% extends "orga/cfp/base.html" %}
{% load bootstrap4 %}
{% load i18n %}

{% block cfp_content %}
<div class="alert alert-info">
    <span>
    {% trans "A good Call for Participation will engage potential speakers. Remember to include:" %}<br>
    <ul>
        <li>{% trans "The formats (talks, workshops, panels) and their durations" %}</li>
        <li>{% trans "Topics you are looking for" %}</li>
        <li>{% trans "How open you are to alternative topics" %}</li>
        <li>{% trans "The people coming to your conference: interests, experience level …" %}</li>
        <li>{% trans "Link your Code of Conduct and Data Protection statements." %}</li>
        <li>{% trans "Do you offer financial or other support, e.g. support for first time speakers?" %}
        <li>{% trans "Dates and location" %}</li>
    </ul>
    </span>
</div>
<div class="flex-container">
    <div class="flex-content">
        <form method="post" action="">
            {% csrf_token %}
            <legend>{% trans "Text and deadline" %}</legend>
            {% bootstrap_field form.headline layout='event' %}
            {% bootstrap_field form.text layout='event' %}
            {% bootstrap_field form.deadline layout='event' %}
            {% bootstrap_field sform.cfp_request_abstract layout='event' %}
            {% bootstrap_field sform.cfp_request_description layout='event' %}
            {% bootstrap_field sform.cfp_request_biography layout='event' %}
            {% bootstrap_field sform.cfp_show_deadline layout='event' %}
            {% bootstrap_field sform.mail_on_new_submission layout='event' %}

            <legend>{% trans "Review settings" %}</legend>
            {% bootstrap_field sform.review_deadline layout='event' %}
            {% bootstrap_field sform.allow_override_votes layout='event' %}
            {% bootstrap_field sform.review_score_mandatory layout='event' %}
            {% bootstrap_field sform.review_text_mandatory layout='event' %}
            {% bootstrap_field sform.review_help_text layout='event' %}
            {% bootstrap_field sform.review_min_score layout='event' %}
            {% bootstrap_field sform.review_max_score layout='event' %}
            {% for field in sform %}
                {% if 'review_score_name_' in field.name %}
                    {% bootstrap_field field layout='event' %}
                {% endif %}
            {% endfor %}
            {% include "orga/submit_row.html" %}
        </form>
    </div>
</div>
{% endblock %}
