add form_error block

This commit is contained in:
Manuel Raynaud
2013-06-25 16:54:42 +02:00
parent b2ee3c3ef8
commit 8dd43d6779
4 changed files with 46 additions and 10 deletions

View File

@@ -18,6 +18,9 @@
<form action="/admin" method="post" class="well form-inline" {form_enctype form=$form}>
{form_field_hidden form=$form}
{form_field form=$form.username}
{form_error form=$form.username}
{$message}
{/form_error}
<input type="text" class="input" placeholder="{intl l='E-mail address'}" name="{$name}" />
{/form_field}
{form_field form=$form.password}