{% extends "Froxlor/userarea.html.twig" %} {% block heading %} {% if formdata.title is not empty %}
{% if formdata.image is not empty %} {% endif %} {{ formdata.title }}
{% if formdata.description is not empty %} {{ formdata.description }} {% endif %}
{% endif %} {% endblock %} {% block actions %} {% if formdata.self_overview is defined and formdata.self_overview is iterable %} {% if actions_links is not defined %}{% set actions_links = [] %}{% endif %} {% set actions_tmp = actions_links %} {% set actions_links = {'href': linker(formdata.self_overview), 'icon': 'fa-solid fa-reply','label': lng('panel.backtooverview')} %} {% set actions_links = {actions_links}|merge(actions_tmp) %} {% endif %} {% if actions_links is iterable or (entity_info is defined and entity_info is not empty) %}
{% if actions_links is iterable %} {% for link in actions_links %} {{ link.label }} {% endfor %} {% endif %} {# TODO: eventually not used anymore because of using a documentation link {% if entity_info is defined and entity_info is not empty %} {% endif %} #}
{% endif %} {% endblock %} {% block content %} {% import "Froxlor/form/form.html.twig" as form %} {{ form.form(formdata, formaction|default('#'), formdata.title, editid|default(''), false, idprefix|default('')) }} {% endblock %}