diff --git a/files/templates/files/update_file.html b/files/templates/files/update_file.html index 65a2859..1e7bf60 100644 --- a/files/templates/files/update_file.html +++ b/files/templates/files/update_file.html @@ -15,16 +15,6 @@
{% csrf_token %} - {% if messages %} - {% for message in messages %} - - {% endfor %} - {% endif %}
{% for field in form %}
@@ -106,6 +96,7 @@ $('#fileUpdateModal').modal('hide'); $('#file_edit_{{ file.slug }}').replaceWith(data); $('#file_{{ file.slug }}').replaceWith(data); + alertify.success(" {% trans 'File successfully updated!' %} "); }, error: function(data){ $('.erro-update').html(data.responseText); @@ -117,4 +108,4 @@ }); {% endblock script_file %} - \ No newline at end of file + -- libgit2 0.21.2