{% extends 'wise_core/generic/parent_base_generic.html' %} {% load wise_icons i18n %} {% comment %} Add or edit one child, inside the parent's chrome. Pair with `wise_core.mixins.WiseParentDetailChildCreateView`/`...ChildUpdateView`. Same block names as `form_generic.html`. The back link and Cancel both default to `child_list_url` - the tab the visitor came from - which the view builds from its `child_list_url_name`, the same URL it redirects to after saving. Returning to the tab beats `history.back()` here: after a failed submit, history is the form itself. {% endcomment %} {% block parent_body %} {% block child_back %} {% lucide "arrow-left" size=16 %} {% block child_back_label %}{% trans "Back" %}{% endblock %} {% endblock %}

{% block form_title %}{% endblock %}

{% block form_header_actions %}{% endblock %}
{% csrf_token %}
{% block form_fields %} {% include 'wise_core/components/_form_fields.html' %} {% endblock %}
{% endblock %}