diff --git a/cruds_adminlte/templates/cruds/ajax/_form.html b/cruds_adminlte/templates/cruds/ajax/_form.html index c9b6671c..d2ebfbc1 100644 --- a/cruds_adminlte/templates/cruds/ajax/_form.html +++ b/cruds_adminlte/templates/cruds/ajax/_form.html @@ -5,15 +5,7 @@ {{ form.media }} {% endif %} -
+ {% csrf_token %}
@@ -30,13 +22,13 @@
+ id="{{ name }}_{{ object.pk }}_addedit_submit" + type="submit" + class="btn btn-primary">{% trans "Submit" %} {% trans "Cancel" %} + onclick="$('#{{ name }}_editList').html('');" + class="btn btn-danger" + data-dismiss="modal">{% trans "Cancel" %}
@@ -45,8 +37,8 @@