nuosso/templates/Home/loginLDAP.html.twig

23 lines
673 B
Twig
Raw Normal View History

2023-07-20 11:56:10 +02:00
{% extends "base.html.twig" %}
{% block body %}
<div style="text-align:center">
{{ form_start(form, {'action': path('app_loginldapcheck'), 'method': 'POST'}) }}
<div class="card homecard mb-3" style="width:400px; margin:auto; text-align: left;">
<div class="card-body">
{{ form_row(form.username) }}
{{ form_row(form.password) }}
{{ form_row(form.submit) }}
</div>
</div>
{{ form_end(form) }}
</div>
{% endblock %}
{% block localscript %}
<script>
$(document).ready(function() {
$("#login_username").focus();
});
</script>
{% endblock %}