Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Commit

Permalink
improved template
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 5, 2018
1 parent 4c33886 commit c2688c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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>

Expand All @@ -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>

Expand Down

0 comments on commit c2688c0

Please sign in to comment.