twig implementation

This commit is contained in:
Nicolas Lœuillet
2013-08-03 08:25:11 +02:00
parent c67e13e04b
commit 8cbb2a8802
7 changed files with 86 additions and 90 deletions

View File

@ -1,5 +1,15 @@
{% extends "layout.twig" %}
{% block title %}Login{% endblock %}
{% block messages %}
<div class="messages">
<ul>
{% for error in errors %}
<li>{{ error.value|e }}</li>
{% endfor %}
</ul>
</div>
{% endblock %}
{% block content %}
<form method="post" action="?login" name="loginform">
<fieldset class="w500p center">