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

Sketch out a BulletTrain::FormBuilder #1650

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Sketch out a BulletTrain::FormBuilder #1650

wants to merge 1 commit into from

Conversation

kaspth
Copy link
Contributor

@kaspth kaspth commented Aug 10, 2024

Having your templates littered with render "shared/fields/<form_field>", form:, method: and all the options managing doesn't feel very Rails-like.

Since Rails already has an API built-in for extending the form builders we could leverage that.

This is by no means complete, I just wanted to open this and show that it's possible for now.

Having your templates littered with `render "shared/fields/<form_field>", form:, method:` and
all the options managing doesn't feel very Rails-like.

Since Rails already has an API built-in for extending the form builders we could leverage that.
@kaspth kaspth requested a review from jagthedrummer August 10, 2024 15:55
@kaspth kaspth self-assigned this Aug 10, 2024
@jagthedrummer
Copy link
Contributor

@kaspth I love this idea! I agree that rendering partials directly feels a little un-Railsy.

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