torchbox / tbxforms

A Torchbox-flavoured template pack for django-crispy-forms, adapted from crispy-forms-gds.
https://pypi.org/project/tbxforms/
BSD 2-Clause "Simplified" License
6 stars 5 forks source link

Allow changing the label markup #68

Closed zerolab closed 4 months ago

zerolab commented 8 months ago

While tbxforms marks optional labels with "(required)", we had requests to stick to the asterisk denoting required fields.

At the moment that is not possible unless one overrides the whole field.html or use JS.

Can we:

siimonevans commented 8 months ago

Yes please! Without this I've found I've had to write gnarly CSS (and/or JS) which feels unnecessary.

kbayliss commented 4 months ago

Solved by https://github.com/torchbox/tbxforms/pull/78