CentreForDigitalHumanities / CentreForDigitalHumanities/django-shared-core

Add some styling to non-field-errors

Open
#107 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently in form_template.html, non-field errors receive basically no styling, which can cause some ugly results, when using these. It would be nice, if there is at least some simple styling for these.

My quick suggestion, is something like this:
```
{% if errors %}





    {% for err in errors %}
  • {{ err }}

  • {% endfor %}




{% endif %}
```
Which results, in something like this:
![image](https://github.com/user-attachments/assets/13607db6-43a6-4099-a8d8-a0f4fb8e74da)

Maybe a nice starting point.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.