{% extends "admin/master.html" %} {% import 'admin/layout.html' as layout with context %} {% from "govuk_frontend_jinja/components/back-link/macro.html" import govukBackLink %} {% from 'govuk_frontend_jinja/components/error-summary/macro.html' import govukErrorSummary %} {% from "govuk_frontend_jinja/components/summary-list/macro.html" import govukSummaryList %} {% block beforeContent %} {{ govukBackLink({"text": "Back", "href": url_for('collection_lifecycle.tasklist', grant_id=grant.id, collection_id=collection.id) }) }} {% endblock %} {% block action_panel %}
{{ layout.messages() }} {% if form.errors %} {{ govukErrorSummary(wtforms_errors(form)) }} {% endif %}

{{ grant.name }} Make grant live

Make a grant live when it is ready to show in Access grant funding. It must have a GGIS number, a grant description, a privacy policy, and at least two grant team members.

{% set grant_team_users %} {% endset %} {% set privacy_policy_link %} {% if grant.privacy_policy_markdown %} Review the grant's privacy policy (opens in a new tab) {% else %} The grant does not have a privacy policy yet. {% endif %} {% endset %} {{ govukSummaryList({ "rows": [{ "key": { "text": "Grant name" }, "value": { "text": grant.name }, }, { "key": { "text": "Grant description" }, "value": { "text": grant.description }, }, { "key": { "text": "Grant code" }, "value": { "text": grant.code }, }, { "key": { "text": "GGIS number" }, "value": { "text": grant.ggis_number }, }, { "key": { "text": "Main contact" }, "value": { "text": grant.primary_contact_name ~ ("
" | safe) ~ grant.primary_contact_email }, }, { "key": { "text": "Grant team users" }, "value": { "html": grant_team_users }, }, { "key": { "text": "Privacy policy" }, "value": { "html": privacy_policy_link }, } ], "classes": "app-!-border-top-line govuk-!-margin-bottom-8" }) }}
{{ form.csrf_token }} {{ form.grant_id }} {{ form.submit }}
{% endblock %}