jazzband / jazzband/django-floppyforms

Changing default widget class attribute for all widgets

Open
#81 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
836
Forks
150
PR merge metrics
No merged PRs in 30d

Description

Is there a way to change the default CSS class for widgets ? I am trying to use Bootstrap 3, and form widgets need a class `form-control` to be displayed properly. I can't seem to find a way to do it without writing lots of code...

Contributor guide

Open the contributing guide

Research direction

The issue provides no file, test, or entry point; begin by tracing how widgets are rendered and how their CSS attributes are selected. Done should provide a supported way to set a default class across widgets and cover the Bootstrap 3 form-control use case with tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, django, python
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.