-
Notifications
You must be signed in to change notification settings - Fork 2
WIP - Tailwind Forms #543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: form-base
Are you sure you want to change the base?
WIP - Tailwind Forms #543
Conversation
Here is how you can open it
|
def __init__(self, *args, **kwargs): | ||
super().__init__(*args, **kwargs) | ||
|
||
self.fields["duplicate"].widget.attrs["class"] = CHECKBOX_CLASS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@black All you need to do to be able to customize the styling is by applying various tailwind classes on the fields here in Python. You can also change non-field related styles directly by editing verification_flags_config.html
file https://github.com/dimagi/commcare-connect/pull/543/files#diff-584b1126b36c4ea38e26c452e1b8b70b8f8775a15233cf7ca0fcc348be27a112
WIP - Forms for Tailwind Conversion
Add override_settings to form views
Product Description
Technical Summary
Safety Assurance
Safety story
Automated test coverage
QA Plan
Labels & Review