
Untitled
By: a guest on
May 8th, 2012 | syntax:
None | size: 0.90 KB | hits: 11 | expires: Never
{# /articlepost #}
{% extends 'CompanyBundle::layout' %}
{% block title %}
Add Article
{% parent %}
{% endblock %}
{% block page_id %}
article
{% endblock %}
{% block page_class %}
article
{% parent %}
{% endblock %}
{% block content %}
<?php if ($view->user->hasFlash('loginError')): ?>
<p>Bad username or password, please try again.</p>
<?php endif; ?>
<form method="post" action="<?php echo $view->router->generate('login') ?>" name="loginForm">
<label for="username">Username</label>
<input type="text" id="username" name="username" />
<label for="password">Password</label>
<input type="password" id="password" name="password" />
<input type="submit" value="Log in" />
</form>
{% endblock %}
{% block sidebar %}
{% set sidebar = ['contact': true] %}
{% parent %}
{% endblock %}