{% extends "deliver_grant_funding/grant_base.html" %} {% from "govuk_frontend_jinja/components/button/macro.html" import govukButton %} {% from "govuk_frontend_jinja/components/notification-banner/macro.html" import govukNotificationBanner %} {% from "deliver_grant_funding/macros/dependency_banner.html" import dependency_banner %} {% from "govuk_frontend_jinja/components/summary-list/macro.html" import govukSummaryList %} {% from "deliver_grant_funding/partials/_advanced_formatting_options.html" import advancedFormattingOptions %} {% from "deliver_grant_funding/macros/deliver_grant_funding_collection_breadcrumb.html" import deliver_grant_funding_collection_breadcrumb %} {% from "deliver_grant_funding/partials/_question_data_options.html" import questionDataOptions %} {% set page_title = "Edit question - " ~ db_form.title %} {% set type_constants = db_form.collection.type.constants %} {% set active_item_identifier = type_constants.active_nav %} {% block beforeContent %} {% set parent_item = None %} {% set truncated=False %} {% if question.parent %} {% if question.parent.parent %} {% set truncated=True %} {% endif %} {% set parent_html %} Question group: {{ question.parent.name }} {% endset %} {% set parent_item={"html": parent_html, "href": url_for("deliver_grant_funding.list_group_questions", grant_id=grant.id, group_id=question.parent_id)} %} {% endif %} {{ deliver_grant_funding_collection_breadcrumb( grant=grant, collection=db_form.collection, form=db_form, immediate_parent_breadcrumb_item=parent_item, this_page_breadcrumb_item={"text":"Edit " ~ question.name}, truncated=truncated ) }} {% endblock beforeContent %} {% block content %}
Are you sure you want to delete this question?
{% endset %} {{ govukNotificationBanner(params={"role": "alert", "titleText": "Warning", "classes": "", "html": banner_html}) }} {% endif %}Question type
{{ question.data_type.value }}