Skip to content

Commit 930a40c

Browse files
committed
update acl forms
1 parent e9aa918 commit 930a40c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{% load form_helpers %}
2+
{% if form.custom_fields %}
3+
<div class="field-group">
4+
<h4>Custom Fields</h4>
5+
{% render_custom_fields form %}
6+
</div>
7+
{% endif %}
28
<div class="field-group">
39
<h4>Comments</h4>
410
{% render_field form.comments %}
511
</div>
6-
{% if form.custom_fields %}
7-
<div class="card">
8-
<h5 class="card-header">Custom Fields</h5>
9-
<div class="card-body">
10-
{% render_custom_fields form %}
11-
</div>
12-
</div>
13-
{% endif %}

0 commit comments

Comments
 (0)