{% extends "deliver_grant_funding/grant_base.html" %} {% from "govuk_frontend_jinja/components/back-link/macro.html" import govukBackLink %} {% set page_title = "Configure public sign up - " ~ collection.name %} {% set type_constants = collection.type.constants %} {% set active_item_identifier = type_constants.active_nav %} {% block beforeContent %} {{ govukBackLink({ "text": "Back", "href": url_for('deliver_grant_funding.list_collection_sections', grant_id=grant.id, collection_type=collection.type, collection_id=collection.id), }) }} {% endblock %} {% block content %}
{{ form.csrf_token }} {% set sign_up_url = collection.public_sign_up %} {{ form.allow_public_sign_up(params={ "fieldset": {"legend": {"text": form.allow_public_sign_up.label.text, "isPageHeading": true, "classes": "govuk-fieldset__legend--l"} }, "items": [ { "value": true, "text": "Yes", "conditional": { "html": "

A public page will be available at " ~ sign_up_url ~ " where grant recipients can sign up to this grant.

" } }, {"value": false, "text": "No"} ] }) }}
{{ form.submit(params={"text": "Save"}) }} Cancel
{% endblock content %}