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

{% block content %}
  {% url "news:collection:rules" as cancel_url %}
  {% trans "Failed to retrieve posts" as title %}

  <main id="rule--page" class="main" data-render-sidebar=true>
    <div class="main__container">
      {% if feed.error %}
        {% include "components/textbox/textbox.html" with title=title body=feed.error class="text-section--error" only %}
      {% endif %}

      {% include "components/form/form.html" with form=form title="Update feed" cancel_url=cancel_url confirm_text="Save feed" %}
      <div>
  </main>
{% endblock %}
