Permalink
Browse files

improved template

  • Loading branch information...
dg committed May 29, 2018
1 parent 4c33886 commit c2688c0a2f5ed271cbd0b2aebc37beed65dd21d6
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/presenters/templates/components/form.latte
@@ -1,6 +1,6 @@
{define form $formName}
<form n:name=$formName>
<ul class=error n:if="$form->ownErrors">
<ul class=error n:ifcontent>
<li n:foreach="$form->ownErrors as $error">{$error}</li>
</ul>

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

0 comments on commit c2688c0

Please sign in to comment.