Open jonnyhoff opened 1 year ago
Hi @jonnyhoff.
CRUDView allows you to specify a form_class
:
... and if you need more control, provides both the get_form_class()
and get_form()
hooks that you can override:
Beyond that, you'd customise the form templates as normal.
Anything you're missing there?
Hi @carltongibson , Thanks for the prompt response. Do you have examples of how to use the above or links to docs?
Not yet, but I'll use this ticket to track that. Thanks!
It's no different from what you'd do with Django's views if that helps. (See the docs I linked)
Also refs #8, which is about providing a Tailwind plugin to style the default Django form markup, in a similar way to the official prose Tailwind plugin.
Please provide a way to modify the CSS classes of the form & elements