{# ========================================================================== #}
{# :: Page restriction #}
{# ========================================================================== #}
{#
	Form to show when the page is restricted and the user must input a password.
#}

{# ========================================================================== #}
{# :: Imports #}
{# ========================================================================== #}
{% import "components/restricted.njk" as restricted %}

{# ========================================================================== #}
{# :: Variables #}
{# ========================================================================== #}
{% set LANGUAGE = ROUTEDATA.LANGUAGE %}
{% set ACTION = "/" + LANGUAGE + "/resources" %}

{# ========================================================================== #}
{# :: Partial #}
{# ========================================================================== #}
<section class="bp-l-section">
	<header class="bp-l-section__header">
		<h1 class="bp-l-section__title u-h1">
			{{ "resources.page-restriction.title" | i18n }}
		</h1>
	</header>

	<p class="bp-l-section__content">
		{{ "resources.page-restriction.description" | i18n }}
	</p>

	{{restricted.default("bp-l-section__content u-margin-top-3x", {
		url: ACTION
	})}}
</section>
