Commit 3533bf58 authored by ibuler's avatar ibuler

[Bugfix] 修复修改资产报错无提示的问题

parent cd2b88ca
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{% block form %} {% block form %}
<form action="" method="post" class="form-horizontal"> <form action="" method="post" class="form-horizontal">
{% if form.no_field_errors %} {% if form.non_field_errors %}
<div class="alert alert-danger"> <div class="alert alert-danger">
{{ form.non_field_errors }} {{ form.non_field_errors }}
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment