{% extends 'dg_ufr/base_ufr.html' %}
{% load static %}
{% load custom_tag %}
{% load custom_tag_obj %}
{% load widget_tweaks %}
{% block content %}
<div class="card mb-3">
    <div class="card-header">
        <i class="fas fa-table"></i>
        MODIFIER UN GROUPE

    </div>
    <div class="card-body">
        <form method="post" action="#">
            {% csrf_token %}
            <div class="row">
                <div class="col-md-2 form-group">
                    <label>Année</label>
                    {% render_field form.annee class="form-control" %}
                </div>
                <div class="col-md-2 form-group">
                    <label>Libellé</label>
                    {% render_field form.libelle class="form-control" %}
                </div>
                <div class="col-md-1 form-group">
                    <label>Type</label>
                    {% render_field form.type_cours class="form-control" placeholder="Entrez le libellé du groupe" %}
                </div>
                <div class="col-md-2 form-group">
                <label>Niveau</label>
                {% render_field form.niveau class="form-control" %}
                </div>
                <div class="col-md-1 form-group">
                    <label>Limite</label>
                    {% render_field form.limite class="form-control" placeholder="Nombre limite de membre" %}
                </div>
            </div>
            <div class="form-group">
                <label>UFR</label>
                {% render_field form.ufr class="form-control" %}
            </div>

            <br/>
            <div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Annuler</button>
            <button type="submit" name="addGroupBtn" class="btn btn-success">Enregistrer</button>
          </div>

        </form>
    </div>
</div>

{% endblock content %}

{% block custom_js %}

{% endblock custom_js %}