{% 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.url class='form-control' %} {{ form.url.help_text }} {% if form.url.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 %}
{{ pendencies_form.management_form }} {{ pendencies_form.non_form_errors }} {% for notify in pendencies_form %}
{% render_field notify.id %} {% render_field notify.resource %} {% render_field notify.subject class='pend_subj' %} {% if notify.instance.pk %}{{ notify.DELETE }}{% endif %}
{% render_field notify.action class='form-control' %}

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

{% trans 'Wished period' %}:

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

{% trans 'Attribute students to YouTube Video' %}:

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

{% trans 'Attribute groups to YouTube Video' %}:

{% 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 %}