On 03/15/2016 09:20 PM, Bryan Richter wrote:
> On Tue, Mar 15, 2016 at 09:13:49PM -0700, Aaron Wolf wrote:
>>
>> Are you saying that correct use of Yesod Forms will always generate
>> the html <form> element?
> 
> I think I may be misunderstanding your question, but I would say the
> precise opposite is true.
> 
> Yesod Forms do not generate <form> elements. If a developer is using a
> Form, they must add the <form> element themselves.
> 
> Conversely, if a programmer is *defining* a custom, monadic Form, they
> should *not* include a <form> element.
> 

Okay, I think I understand that html can have what is effectively forms
in that there are inputs and fields and no <form> is actually there in
the markup. Is that okay? Or should forms always be in html <form> blocks?

If we don't have <form> blocks consistently, then we won't use <form>
for css styling. If do use <form> blocks consistently, then we have to
build the code style guide stating when and how everyone should be
adding them to templates.

Am I understanding now?


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Dev mailing list
[email protected]
https://lists.snowdrift.coop/mailman/listinfo/dev

Reply via email to