

{% load crispy_forms_tags %}

<div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
        <div class="modal-header">
            <h2 class="modal-title">Crear Marca</h2>
            <a href="javascript:location.reload()" class="btn btn-primary">Cerrar</a>
        </div>
        <div class="modal-body">
            <form method="POST" action="crear_marca" class="mt-3" autocomplete="off" >
                {% csrf_token %}
                {{ form|crispy }}
            <button type="submit" class="btn btn-success">Guardar</button>
            </form>
        </div>
        <button class="btn btn-danger" type="button" data-dismiss="modal">Cancelar</button>

    </div>

</div>