diff --git a/app/Core/Widget/@form.latte b/app/Core/Widget/@form.latte index f38ae46..6590258 100644 --- a/app/Core/Widget/@form.latte +++ b/app/Core/Widget/@form.latte @@ -1,8 +1,8 @@ -{var string $class = ''} +{varType string $class} {varType string $name} {varType Nette\Application\UI\Form $form} -
{* General form field definition (input, select, textarea, submit) using switch *} -{define input, string $type, string $name, int $columns = 12, string $class = '', int $rows = 3} +{define input, string $type, string $name, int $columns = 12, string $class, int $rows = 3}