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

Add ability to disable default form wrapper #522

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

spohlenz
Copy link
Member

This PR adds the ability to disable the default form wrapper (container <div> including sidebar), and instead leave it to the form partial to lay out the container. This can be useful for laying out a form in sections, or within a grid.

Trestle.resource(:articles) do
  form wrapper: false
end

@coveralls
Copy link

Coverage Status

coverage: 91.421% (+0.005%) from 91.416%
when pulling 1a7d379 on disable-form-wrapper-option
into dc8e987 on main.

@spohlenz spohlenz merged commit bcd5124 into main Nov 13, 2024
45 checks passed
@spohlenz spohlenz deleted the disable-form-wrapper-option branch November 13, 2024 01:28
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