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

{{ action }}

{{ form.hidden_tag() }}

Enter the URL of the website or the URL of the feed (RSS/ATOM).

{{ form.site_link(class_="form-control", size="100%") }} {% for error in form.site_link.errors %} {{ error }}
{% endfor %}
{{ form.link(class_="form-control", size="100%") }} {% for error in form.link.errors %} {{ error }}
{% endfor %}
{{ form.submit(class_="btn btn-primary") }}

{{ form.title(class_="form-control", size="100%", placeholder=_('Will be retrieved automatically but you can specify a custom title.')) }} {% for error in form.title.errors %} {{ error }}
{% endfor %}
{{ form.category_id(class_="form-control", placeholder=_('Optional')) }} {% for error in form.category_id.errors %} {{ error }}
{% endfor %}

{{ form.enabled(class_="form-check-input", style="margin-left: 0px;") }}
{{ _("If unchecked, this feed won't be retrieved by the aggregator.") }}
{{ form.private(class_="form-check-input", style="margin-left: 0px;") }}
{{ _("If checked, this 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.") }}

{{ _("Filters") }}

{{ _("Here you can define actions to perform on newly retrieved items.") }}

{% if feed %} {% for filter_ in feed.filters or [] %}

{% endfor %} {% endif %}

{{ form.submit(class_="btn btn-primary") }}
{% endblock %}