{% extends "base.html" %} {% load i18n %} {% block title %} {% if resource %} {%blocktrans%}Edit Resource{%endblocktrans%} {% else %} {%blocktrans%}New Resource{%endblocktrans%} {% endif %} {% endblock %} {% block breadcrumb %} {# Home > {% if content %}{{ content.headline }}{% else %}{%blocktrans%}New {{content_type}}{%endblocktrans%}{% endif %} #} {% endblock %} {% block content %} {% if resource %}

{%blocktrans%}Edit Resource{%endblocktrans%}

{% else %}

{%blocktrans%}New Resource{%endblocktrans%}

{% endif %}
{% for field in form %}
{{ field.errors }} {{ field.label_tag }} {{ field }}
{% endfor %} {% csrf_token %}
{% endblock %} {% block contextbar %} {% include 'account/profile.box.html' %} {% endblock %}