{% extends '::base.html.twig' %}

{% block body %}
    <!-- Page -->
    <div class="page animsition">
        <div class="page-header">
            <h1 class="page-title">{{ 'users list' | trans}}</h1>
            <ol class="breadcrumb">
                <li><a href="{{ path('Dgcl_project_homepage') }}">{{ 'Home' | trans }}</a></li>
                <li class="active">{{ 'users list' | trans}}</li>
            </ol>
        </div>
        <div class="page-content">
            <div class="panel">

                <div class="panel-body">
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="margin-bottom-15">
                                <h3>{{ 'edit_user' | trans}}</h3>
                            </div>
                        </div>
                    </div>


                    <div class="panel-body">

                        <form class="form-horizontal"  action="{{ path('Dgcl_user_update' , {'id' : user.id})}}" method="post">

                            {{ form_widget(form) }}

                            <div class="form-group margin-top-35">
                                <div class="col-sm-9 col-sm-offset-3">
                                    {{ form_rest(form) }}   
                                    <button type="submit" id="submitForm" class="btn btn-primary"  id="submitForm">{{'save' | trans}}</button>
                                    <a href="{{ path('admin_users') }}" >
                                        <button type="button" class="btn btn-default btn-outline">{{ 'cancel' | trans}}</button>
                                    </a>
                                </div>
                            </div>

                        </form>

                    </div>                



                </div>
            </div>
            <!-- End Panel Table Add Row -->



        </div>
    </div>
    <!-- End Page -->
{% endblock %}