{% extends 'safety/rules/rule.html' %} {% block toolbar_rule_youtube %}active{%endblock%} {% block rule_desc %}

YouTube filter allows administrator to block undesired video categories, channels and single videos on youtube.com. Before enabling this module you need to register your filter instance at YouTube Developers Console and specify required YouTube API v3 credentials.

{%endblock%} {% block rule_content %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %} {{ error|escape }} {% endfor %}
{% endif %}
{% csrf_token %}
{{form.restrictions}} {% if form.restrictions.errors %} {{form.restrictions.errors|striptags}} {% else %} Restrict videos on YouTube. Restrictions allow to prohibit videos with explicit or inappropriate contents automatically. See the following help topic for more information. {%endif%}
{{form.action}} {% if form.action.errors %} {{form.action.errors|striptags}} {% else %} YouTube videos may either be allowed or blocked by default. Initially all videos are allowed. Refine blocking by video category, channel or ID using other tabs. {%endif%}
{% endblock %}