{% extends 'generic/_base.html' %} {% load i18n %} {% comment %} Confirmation page for the "Derive design" action (PLAN-design-chains.md ยง5 phase 1). Available only from an approved design -- Design.is_frozen -- see views.DesignDeriveView. GET renders this page; POST creates the child design. Context: - object: the parent Design being derived from - form: DesignDeriveForm (a required "title" CharField, prefilled with a " (derived)" suggestion) -- only present when object.is_frozen - return_url: where Cancel goes {% endcomment %} {% block title %}{% trans "Derive design from" %} {{ object }}{% endblock %} {% block content %}
{% trans "Derive design" %}
{% if object.is_frozen %}

{% blocktrans trimmed with title=object %} Create a new design based on {{ title }}? The new design starts in draft status with its "based on" set to this design, so it plans on top of everything {{ title }} left behind. {% endblocktrans %}

{% csrf_token %} {{ form.as_p }} {% trans "Cancel" %}
{% else %}

{% blocktrans trimmed with title=object %} Only an approved design can be derived from. Approve {{ title }} first. {% endblocktrans %}

{% trans "Back" %} {% endif %}
{% endblock %}