class FormMacros extends MacroSet

Latte macros for Nette\Forms.

  • {form name} ... {/form}
  • {input name}
  • {label name /} or {label name}... {/label}
  • {inputError name}
  • {formContainer name} ... {/formContainer}

Methods

static 
install(Compiler $compiler)

No description

macroForm(MacroNode $node, PhpWriter $writer)

{form ...}

macroFormContainer(MacroNode $node, PhpWriter $writer)

{formContainer ...}

macroLabel(MacroNode $node, PhpWriter $writer)

{label ...}

macroLabelEnd(MacroNode $node, PhpWriter $writer)

{/label}

macroInput(MacroNode $node, PhpWriter $writer)

{input ...}

macroInputAttr(MacroNode $node, PhpWriter $writer)

deprecated n:input

macroNameAttr(MacroNode $node, PhpWriter $writer)

, ,