Skip to content
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

WIP Compact admin form UI with widgets attributes #368

Open
wants to merge 35 commits into
base: master
Choose a base branch
from

Conversation

haricot
Copy link
Contributor

@haricot haricot commented Jan 5, 2020

same layout as related #365
This uses a widgets attributes for nested fields organized with specific helpers.

Be enabled with the environment variable: COMPACT_FORM=True (I tried with app_settings, but it doesn't work in CascadeUtilitiesMixin due to translation)

The widget cascade selector icon is associated with HTML / CSS / SVG and the fieldsets are defined according to the nested widget attribute group.

And this use a pull request #367 which also gives the possibility of filtering the fields for CascadeUtilitiesMixin.

git clone https://github.com/haricot/djangocms-cascade -b widget_attrs_group_nested
cd djangocms-cascade/examples/
python3.6 -m venv .venv
poetry shell
poetry install
npm install
./manage.py migrate
./manage.py createsuperuser

COMPACT_FORM=True ./manage.py runserver

@haricot haricot force-pushed the widget_attrs_group_nested branch 3 times, most recently from d02eb43 to d7f34cd Compare March 5, 2020 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant