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

removed default action from project.js #1716 #1717

Merged
merged 3 commits into from Jul 17, 2018

Conversation

hendrikschneider
Copy link
Contributor

@hendrikschneider hendrikschneider commented Jul 10, 2018

Description

Closes #1716.

Default should be a project.js that does not modify the html in some way

Rationale

A cookiecutter project should generate a good starting point to start with and all modules should work without problems. This undocumented feature breaks crispy horizontal forms in a default setup and it is not obvious that there there is line in the project.js that removes css classes.

Use case(s) / visualization(s)

@@ -18,4 +18,3 @@ Issues with the above approach:
3. Really Unforgiving: No way to override this behavior
4. Undocumented: No mention in the documentation, or it's too hard for me to find
*/
$('.form-group').removeClass('row');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

The comments above this line related to crispy forms should be removed if this line is removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. Should I stash the changes or is it fine like this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, don't worry about it, we can squash from the Github UI.

@webyneter
Copy link
Collaborator

LGTM.

@browniebroke
Copy link
Member

Thanks for the fix!

@browniebroke browniebroke merged commit 95ee1f1 into cookiecutter:master Jul 17, 2018
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.

None yet

3 participants