Create HTML form
html:form($content, STRING $action="", STRING $method="POST", ARRAY $attributes=[ ]) : STRING
# the content can be both an array or a string of content
html:form([''])
#=> "<form action=\"\" method=\"POST\"></form>"
html:form([html:p('hi'), 'other inputs'])
#=> "<form action=\"\" method=\"POST\"><p>hi</p>other inputs</form>"
html:form('where all the inputs should go')
#=> "<form action=\"\" method=\"POST\">where all the inputs should go</form>"
Copyright ©2013-2022 SunSed®. All rights reserved.