31 lines
718 B
Twig
31 lines
718 B
Twig
|
{% extends 'base.html.twig' %}
|
||
|
|
||
|
{% block title %} = {{title}}{% endblock %}
|
||
|
|
||
|
{% block body %}
|
||
|
<h1>{{title}}</h1>
|
||
|
|
||
|
|
||
|
{{ form_start(form) }}
|
||
|
{{ form_widget(form.submit) }}
|
||
|
<a href="{{ path(routecancel) }}" class="btn btn-secondary ms-1">Annuler</a>
|
||
|
|
||
|
<div class="card mt-3">
|
||
|
<div class="card-header">Information</div>
|
||
|
<div class="card-body">
|
||
|
{{ form_widget(form) }}
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ form_end(form) }}
|
||
|
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block localscript %}
|
||
|
<script type="module">
|
||
|
import $ from 'jquery';
|
||
|
$(document).ready(function() {
|
||
|
$("#user_username").focus();
|
||
|
});
|
||
|
</script>
|
||
|
{% endblock %}
|