New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Add html attributes to {{ form:create }} ?

Isaac Earl January 24, 2020 by Isaac Earl

I'm creating a form using {{ form:create }} but I really want an id and class on the form element. I've tried several things but there doesn't seem to be a way to do that. Am I missing something simple here? Or do I just need to abandon my plan and do something else? Thanks!

Answered by Philip Thygesen!
>>>>>>> Answered <<<<<<<
2 Replies