{% extends 'template/template.j2.html' %} {% block title %} {{ $t('sidebar.formExample') }} {% endblock %} {% block content %}

{{ $t('form.validation.title') }}

{{ $t('Form validation example') }}

{{ $t('Test Credentials') }}

{{ $t('form.validation.credentials.email') }}: example@uproid.com

{{ $t('form.validation.credentials.password') }}: @Test123

{% if loginResult != true and user == null %}

{{ $t('Login Form') }}

{{ $t('Enter your credentials to continue') }}

{% include form_login.widget | unscape %}
{% else %}

{{ $t('form.validation.loginSuccess') }}

{{ $t('Logged in as') }} {{ user.name }}

{{ $t('form.validation.logout') }}
{% endif %}

{{ $t('File References') }}

{{ $t('Related files for this form example') }}

{% endblock %}