form (function)

form(content='', formType='inline', postToScript='', htmlId=False, htmlClass=False, navBarPull=False, postInBackground=False, redirectUrl=False, span=False, offset=False, openInNewTab=False)[source]

Generate a form - TBS style

Key Arguments

  • content – the content

  • formType – the type if the form required [ “inline” | “horizontal” | “search” | “navbar-form” | “navbar-search” ]

  • postToScript – the script to post the form values to

  • htmlId – the id for the form

  • navBarPull – align the form is in a navBar [ false | right | left ]

  • postInBackground – submit form in background without refreshing page

  • redirectUrl – url to redirect to after form is submitted

Return

  • inlineForm – the inline form