Skip to content

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