{% 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.channel_id}}
{% if form.channel_id.errors %} {{form.channel_id.errors|striptags}} {% else %} Specify ID of the desired YouTube channel. ID of the channel is visible in browser address bar when you click on the channel title. For example, in URL https://www.youtube.com/channel/UC_x5XG1OV2P6uZZ5FSM9Ttw the channel ID is UC_x5XG1OV2P6uZZ5FSM9Ttw. {%endif%}
{{form.title}} {% if form.title.errors %} {{form.title.errors|striptags}} {% else %} Specify the title of the desired YouTube channel. Click on the wizard button to try to retrieve the channel infomation from YouTube using channel ID shown above. {%endif%}
{{form.description}} {% if form.description.errors %} {{form.description.errors|striptags}} {% else %} Specify description for your own use. {%endif%}
{% block cancel_button%} {%endblock%}
{% endblock %}