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

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

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