mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-27 02:58:40 +02:00
feat: automated replacement
This commit is contained in:
8
app/templates/crispy-daisyui/errors.html
Normal file
8
app/templates/crispy-daisyui/errors.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% if form.non_field_errors %}
|
||||
<div class="tw:alert tw:alert-error">
|
||||
{% if form_error_title %}<h4 class="tw:font-bold">{{ form_error_title }}</h4>{% endif %}
|
||||
<ul class="tw:m-0 tw:list-disc tw:list-inside">
|
||||
{{ form.non_field_errors|unordered_list }}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user