{# SPDX-License-Identifier: MIT #} {# SPDX-SnippetCopyrightText: 2022 LOGIC SMPC #} {% load i18n %} {# need to force_escape for this hidden input because we're marking the value as safe #} {% comment %} This used to contain the prose-link-suggestions-dialog. I've moved it to projectify/workspace/templates/workspace/form_base.html As long as your forms base off form_base, they'll have a dialog for link suggestions. I've removed the dialogs to make this widget fit inside a

tag. This is useful when you're rendering a form with .as_p() HTML forbids block elements like

inside

tags. At the same time, the MDN docs recommend putting form elements inside

tags {% endcomment %}