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

Simplify markup #523

Merged
merged 1 commit into from
Apr 5, 2025
Merged

Conversation

patriciomacadden
Copy link
Contributor

Removed two unneeded div wrappers. The one in index isn't needed because its parent is flex, the one in show can be avoided by adding form_class to the button_to. It generates cleaner partials an easier to change.

@flavorjones
Copy link
Member

Looks great, thank you!

@flavorjones flavorjones merged commit abea8c0 into rails:main Apr 5, 2025
17 checks passed
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.

2 participants