final 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}
  • {formContext name} ... {/formContext}

Methods

static void
install(Compiler $compiler)

No description

macroForm(MacroNode $node, PhpWriter $writer)

{form ...}

macroFormContext(MacroNode $node, PhpWriter $writer)

{formContext ...}

macroFormContainer(MacroNode $node, PhpWriter $writer)

{formContainer ...}

macroLabel(MacroNode $node, PhpWriter $writer)

{label ...}

macroLabelEnd(MacroNode $node, PhpWriter $writer)

{/label}

macroInput(MacroNode $node, PhpWriter $writer)

{input ...}

macroNameAttr(MacroNode $node, PhpWriter $writer)

, ,