{% extends "base.html" %} {% block content %}
{{ form.hidden_tag() }}

{{ form.channelId.label }}
{{ form.channelId(size=32) }}
{% for error in form.channelId.errors %} [{{ error }}] {% endfor %}

{{ form.submit() }}

Tip: Videos are shown below channels.

Just scroll down!

{% if results %}

Users

{% for res in results %}
{% if not current_user.is_following_yt(res.channelId) %}

{{ btform.hidden_tag() }} {{ btform.submit(value='Follow') }}

{% else %}

{{ btform.hidden_tag() }} {{ btform.submit(value='Unfollow') }}

{% endif %}
{{res.username}}
{{res.subCount}}
{% endfor %}

Videos

{% if videos %}
{% for video in videos %} {% include '_video_item.html' %} {% endfor %}
{% else %} {% include '_empty_feed.html' %} {% endif %}
{% endif %}
{% endblock %}