{% load static i18n %} {% load widget_tweaks %}
{% csrf_token %} {% render_field form.control_subject %}
{% render_field form.name class='form-control' %} {{ form.name.help_text }} {% if form.name.errors %} {% endif %}
{% render_field form.content class='form-control text_wysiwyg' %} {{ form.content.help_text }} {% if form.content.errors %} {% endif %}
{% trans 'Common resources settings' %}
{% render_field form.brief_description class='form-control text_wysiwyg' %} {{ form.brief_description.help_text }} {% if form.brief_description.errors %} {% endif %}
{% render_field form.tags class='form-control' data-role="tagsinput" %} {{ form.tags.help_text }} {% if form.tags.errors %} {% endif %}
{% render_field pendencies_form.id %} {% render_field pendencies_form.resource %} {% render_field pendencies_form.subject class='pend_subj' %}
{% render_field pendencies_form.action class='form-control' %}

{{ pendencies_form.action.help_text }} {% if pendencies_form.action.errors %} {% endif %}

{% trans 'Wished period' %}:

{% render_field pendencies_form.begin_date class='form-control datetime-picker begin_date_input' %}
{{ pendencies_form.begin_date.help_text }} {% if pendencies_form.begin_date.errors %} {% endif %}
{% render_field pendencies_form.end_date class='form-control datetime-picker end_date_input' %}
{{ pendencies_form.end_date.help_text }} {% if pendencies_form.end_date.errors %} {% endif %}
{{ form.all_students.help_text }} {% if form.all_students.errors %} {% endif %}

{% trans 'Attribute students to webpage' %}:

{% render_field form.students class='form-control' %} {{ form.students.help_text }} {% if form.students.errors %} {% endif %}

{% trans 'Attribute groups to webpage' %}:

{% render_field form.groups class='form-control' %} {{ form.groups.help_text }} {% if form.groups.errors %} {% endif %}
{{ form.show_window.help_text }} {% if form.show_window.errors %} {% endif %}
{{ form.visible.help_text }} {% if form.visible.errors %} {% endif %}