View List of Option Names for Functions in Phoenix.HTML.Form

Hello all,

Is there a way to see the list of option names available for the different function in Phoenix.HTML.Form?

I keep having to guess what to pass to label(), textarea(), etc. to get the desired effect I want, there has to be a better way?

Thanks to @LostKobrakai who informed me that, “most opts are directly forwarded to the underlying content_tag function”

So any HTML attributes you want, just pass it the way it’s named in HTML.

1 Like