{% extends 'safety/rules/rule.html' %} {% block toolbar_rule_youtube %}active{%endblock%} {% block rule_content %} {% block member_heading%}{%endblock%} {% if form.non_field_errors %}
{% for error in form.non_field_errors %} {{ error|escape }} {% endfor %}
{% endif %}
{% csrf_token %}
{{form.video_id}}
{% if form.video_id.errors %} {{form.video_id.errors|striptags}} {% else %} Specify the ID of the desired YouTube video. For example, BEtPCT7ZcE0. Required. ID of each video is visible in browser address bar when watching the video. It is a string like BEtPCT7ZcE0 after &v= parameter. Click on the wizard button to load video title, channel and description from YouTube. {%endif%}
{{form.channel_id}} {% if form.channel_id.errors %} {{form.channel_id.errors|striptags}} {% else %} Specify video channel ID. For example, UC_x5XG1OV2P6uZZ5FSM9Ttw. Optional. {%endif%}
{{form.category_id}} {% if form.category_id.errors %} {{form.category_id.errors|striptags}} {% else %} Specify video category ID. For example, 27. Optional. Click here to see the list of available categories. {%endif%}
{{form.title}} {% if form.title.errors %} {{form.title.errors|striptags}} {% else %} Specify the title of the desired YouTube channel. Optional. {%endif%}
{{form.description}} {% if form.description.errors %} {{form.description.errors|striptags}} {% else %} Specify description for your own use. {%endif%}
{% block cancel_button%} {%endblock%}
{% endblock %}