{% extends 'gakusei/create-layout.html' %}
{% load crispy_forms_tags %}
{% load static %}


    {% block style %}
        <link rel="stylesheet" href="{% static 'gakusei/select2/select2.min.css' %}">
        <link rel="stylesheet" href="{% static 'gakusei/select2/select2-bootstrap-5-theme.min.css' %}">
    {% endblock %}

    {% block script %}
        <script src="{% static 'gakusei/js/jquery-3.7.1.min.js' %}"></script>
        <script src="{% static 'gakusei/select2/select2.full.min.js' %}"></script>

        <script src="{% static 'gakusei/js/pagos/create.js' %}"></script>
    {% endblock %}


    {% block regresar-url %}{% url 'pagos' %}{% endblock %}

    {% block card-title %}Registro de Pago{% endblock %}

    {% block form %}
        <form id="pago-form" action="{% url 'pagos-create' %}" data-get_clases="{% url 'api-pagos-clases' %}" method="post"> {%csrf_token%}
            {{ form|crispy }}
            <input id="submit-button" class="btn btn-lg btn-success" type="submit" value="Registrar">
        </form>
    {% endblock %}

    {% block otros %}
        <div id="mensualidad-tabla" class="table-responsive" data-mensualidad="{% url 'api-pagos-mensualidad' %}"></div>
    {% endblock %}