{% extends "tungsten/layout/app.html" %} {% import "tungsten/components/ui.html" as ui %} {% block content %} {% if not subheading %}{% set subheading = (resource.get_description(ctx) if operation == 'create' else none) if operation != 'edit' else __('Update the details below and save your changes.') %}{% endif %} {% set editable = operation in ('create', 'edit') and not trashed %} {% set back_url = cancel_url if cancel_url is defined and cancel_url else resource.get_url(ctx) %} {% set extra_actions %} {% if editable and not form.has_wizard %} {{ __('Cancel') }} {% endif %} {% endset %} {% include "tungsten/components/page-header.html" %} {% if trashed %}