{% extends "tungsten/layout/app.html" %} {% import "tungsten/components/ui.html" as ui %} {% block content %} {% set subheading = (__(resource.description) if resource.description else none) if operation == 'create' else ({'edit': __('Update the details below and save your changes.'), 'view': None}[operation]) %} {% set editable = operation in ('create', 'edit') and not trashed %} {% set extra_actions %} {% if editable and not form.has_wizard %} {{ __('Cancel') }} {% endif %} {% endset %} {% include "tungsten/components/page-header.html" %} {% if trashed %}