{% extends "podcast_analyzer/app_base.html" %} {% load i18n %} {% block extratitle %}{% if not podcast %}{% translate "Add podcast" %}{% else %}{% translate "Edit" %} {{ podcast.title }}{% endif %} - {% endblock %} {% block breadcrumbs %}
  • {% translate "Podcasts" %}
  • {% if not podcast %}
  • {% translate "Add" %}
  • {% else %}
  • {{ podcast.title }}
  • {% translate "Edit" %}
  • {% endif %} {% endblock %} {% block content %}

    {% if not podcast %}{% translate "Add podcast" %}{% else %}{% blocktranslate with title=podcast.title %}Edit {{ title }}{% endblocktranslate %}{% endif %}

    {% csrf_token %} {{ form.media }} {% for field in form %}
    {{ field.errors }} {{ field.label_tag }}
    {{ field }}
    {% if field.help_text %}

    {{ field.help_text|safe }}

    {% endif %}
    {% endfor %} {% if not podcast %} {% translate "Return to list without saving" %} {% else %} {% translate "Return to podcast detail and discard changes" %} {% endif %}
    {% endblock %}