{% extends "base.html" %}
{% load static i18n %}

{% block content %}
  <main id="rule--page" class="main">
    {% if feed.error %}
      {% trans "Failed to retrieve posts" as title %}
      {% include "components/textbox/textbox.html" with title=title body=feed.error class="text-section--error" only %}
    {% endif %}

    {% url "news:collection:rules" as cancel_url %}
    {% include "components/form/form.html" with form=form title="Update feed" cancel_url=cancel_url confirm_text="Save feed" only %}
  </main>
{% endblock %}
