Fixed login error message

This commit is contained in:
Gergely Polonkai 2013-02-28 01:04:33 +01:00
parent b3bd39d136
commit cc73d963a2
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
{% extends 'GergelyPolonkaiFrontBundle:Default:front_base.html.twig' %} {% extends 'GergelyPolonkaiFrontBundle:Default:front_base.html.twig' %}
{% block content %} {% block content %}
<h3>Bejelentkezés</h3> <h3>Login</h3>
{% if error %} {% if error %}
<div id="error">{{ error }}</div> <div id="error">{{ error.message }}</div>
{% endif %} {% endif %}
<form method="post" action="{{ path('GergelyPolonkaiFrontBundle_adminLoginCheck') }}"> <form method="post" action="{{ path('GergelyPolonkaiFrontBundle_adminLoginCheck') }}">
<input type="text" name="_username" vale="{{ last_username }}" /> <input type="text" name="_username" vale="{{ last_username }}" />