Permalink
Browse files

templates: $form -> $formName

  • Loading branch information...
dg committed Jan 23, 2018
1 parent 0e44b10 commit cb23cb44479941f04cd5594da918b871c711fbf3
Showing with 4 additions and 4 deletions.
  1. +4 −4 app/presenters/templates/components/form.latte
@@ -1,5 +1,5 @@
{define form $form}
<form n:name=$form>
{define form $formName}
<form n:name=$formName>
<ul class=error n:if="$form->ownErrors">
<li n:foreach="$form->ownErrors as $error">{$error}</li>
</ul>
@@ -18,8 +18,8 @@


{* for Bootstrap v3 *}
{define bootstrap-form $form}
<form n:name=$form class=form-horizontal>
{define bootstrap-form $formName}
<form n:name=$formName class=form-horizontal>
<ul class=error n:if="$form->ownErrors">
<li n:foreach="$form->ownErrors as $error">{$error}</li>
</ul>

0 comments on commit cb23cb4

Please sign in to comment.