Commit 76a08c90 authored by BaiJiangJie's avatar BaiJiangJie Committed by 老广

[Bugfix] 修复创建/更新 Perms 时,名称重复不提示错误信息的问题 (#2272)

parent b9b8c35a
......@@ -29,6 +29,11 @@
</div>
<div class="ibox-content">
<form method="post" class="form-horizontal" action="" >
{% if form.non_field_errors %}
<div class="alert alert-danger">
{{ form.non_field_errors }}
</div>
{% endif %}
{% csrf_token %}
<h3>{% trans 'Basic' %}</h3>
{% bootstrap_field form.name layout="horizontal" %}
......
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