Skip to content

Commit

Permalink
Make it possible to add a form warning just at the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
mhagander committed Oct 8, 2024
1 parent 0e92a94 commit 35872a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions template/confreg/admin_backend_form_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
{%if not nobuttons%}
{%if form.warning_text %}
<div class="alert alert-danger">{{form.warning_text}}</div>
{%endif%}
{%if form.warning_text_below %}
<div class="alert alert-danger">{{form.warning_text_below}}</div>
{%endif%}
<div class="form-group">
<div class="col-lg-12">
Expand Down

0 comments on commit 35872a0

Please sign in to comment.