- {% get_solo 'mozilla_django_oidc_db.OpenIDConnectConfig' as oidc_config %}
- {% get_solo 'configurations.SiteConfiguration' as site_config %}
- {% if oidc_config.enabled and site_config.openid_enabled_for_regular_users %}
- {% render_card tinted=True direction='horizontal' %}
- {% if site_config.openid_connect_logo %}
-
-
-
- {% else %}
-
- {% endif %}
- {% url 'oidc_authentication_init' as href %}
- {% with href|addnexturl:next as href_with_next %}
- {% link text=site_config.openid_connect_login_text href=href_with_next secondary=True icon='arrow_forward' icon_position="after" %}
- {% endwith %}
- {% endrender_card %}
- {% endif %}
+
+ {% render_grid %}
+ {% if settings.DIGID_ENABLED %}
+ {% render_column start=4 span=5 %}
+ {% get_solo 'digid_eherkenning_oidc_generics.OpenIDConnectDigiDConfig' as digid_oidc_config %}
+ {% if digid_oidc_config.enabled %}
+ {% render_card direction='horizontal' tinted=True %}
+
+
+
+ {% url 'digid_oidc:init' as href %}
+ {% link href=href text=_('Inloggen met DigiD') primary=True icon='arrow_forward' extra_classes="link--digid" %}
+ {% endrender_card %}
+ {% else %}
+ {% render_card direction='horizontal' tinted=True %}
+
+
+
+ {% url 'digid:login' as href %}
+ {% with href|addnexturl:next as href_with_next %}
+ {% link href=href_with_next text=_('Inloggen met DigiD') primary=True icon='arrow_forward' extra_classes="link--digid" %}
+ {% endwith %}
+ {% endrender_card %}
+ {% endif %}
+ {% endrender_column %}
- {% if login_allow_registration %}
- {% render_card tinted=True %}
- {% render_form id="login-form" method="POST" form=form show_required=True %}
- {% csrf_token %}
-
- {% input form.username %}
- {% input form.password %}
- {% button text=_('Wachtwoord vergeten?') href='password_reset' secondary=True transparent=True align='right' %}
- {% form_actions primary_text=_("Inloggen") primary_icon="arrow_forward" secondary_href='django_registration_register' secondary_text=_('Registreer') secondary_icon='arrow_forward' single=True %}
- {% endrender_form %}
- {% endrender_card %}
- {% endif %}
- {% endrender_card %}
- {% endrender_column %}
- {% endrender_grid %}
-
+ {% get_solo 'mozilla_django_oidc_db.OpenIDConnectConfig' as oidc_config %}
+ {% get_solo 'configurations.SiteConfiguration' as site_config %}
+ {% if oidc_config.enabled and site_config.openid_enabled_for_regular_users %}
+ {% render_column start=4 span=5 %}
+ {% render_card tinted=True direction='horizontal' %}
+ {% if site_config.openid_connect_logo %}
+
+
+
+ {% else %}
+
+ {% endif %}
+ {% url 'oidc_authentication_init' as href %}
+ {% with href|addnexturl:next as href_with_next %}
+ {% link text=site_config.openid_connect_login_text href=href_with_next primary=True icon='arrow_forward' icon_position="after" %}
+ {% endwith %}
+ {% endrender_card %}
+ {% endrender_column %}
+ {% endif %}
+
+ {% if login_allow_registration %}
+ {% render_column start=4 span=5 %}
+ {% render_card direction='horizontal' tinted=True %}
+
+ {% icon icon="login" icon_position="before" outlined=True %}
+
+ {% link href="#email" text=_('Log in met e-mail adres') primary=True icon='arrow_forward' %}
+ {% endrender_card %}
+ {% endrender_column %}
+
+ {% render_column start=4 span=5 %}
+ {% render_card tinted=True %}
+ {% render_form id="login-form" method="POST" form=form show_required=True %}
+ {% csrf_token %}
+
+ {% input form.username %}
+ {% input form.password %}
+ {% button text=_('Wachtwoord vergeten?') href='password_reset' primary=True transparent=True align='right' %}
+ {% form_actions primary_text=_("Inloggen") primary_icon="arrow_forward" single=True %}
+ {% endrender_form %}
+ {% endrender_card %}
+ {% endrender_column %}
+
+ {% render_column start=4 span=5 %}
+
Of registreer
+ {% render_card direction='horizontal' tinted=True %}
+
+ {% icon icon="account_circle" icon_position="before" outlined=True %}
+
+ {% link href="/accounts/register" text=_('Maak een account aan') primary=True icon='arrow_forward' %}
+ {% endrender_card %}
+ {% endrender_column %}
+
+ {% endif %}
+
+ {% endif %}
+
+ {% endrender_grid %}
+
+ {# Panel 2 #}
+ {# Panel 2 End #}
+