{% extends "layout.html" %} {% block content %}

{{ action }}

{{ form.hidden_tag() }}
{{ form.link(class_="form-control", size="100%") }}
{% for error in form.link.errors %} {{ error }}
{% endfor %}
{{ form.title(class_="form-control", size="100%", placeholder=_('Optional')) }}
{% for error in form.title.errors %} {{ error }}
{% endfor %}
{{ form.site_link(class_="form-control", size="100%", placeholder=_('Optional')) }}
{% for error in form.site_link.errors %} {{ error }}
{% endfor %}
{{ form.category_id(class_="form-control", placeholder=_('Optional')) }}
{% for error in form.category_id.errors %} {{ error }}
{% endfor %}
{{ form.enabled(class_="checkbox", style="margin-left: 0px;") }}
{{ form.private(class_="checkbox", style="margin-left: 0px;") }}
{{ _("If checked, articles of this feed won't be available to others and the feed won't be listed on your profile page.", url=url_for('user.profile_public', nickname=current_user.nickname) ) }} {{ _("Check this box if there is a private token in the link of the feed.") }}
{% if feed %} {% for filter_ in feed.filters or [] %}
{% endfor %} {% endif %}
{{ form.submit(class_="btn btn-default") }}
{% endblock %}