PHP Classes

File: app/Resources/FOSUserBundle/views/Security/login.html.twig

Recommend this page to a friend!
  Classes of Manolo Salsas  >  Online PHP Image Transform  >  app/Resources/FOSUserBundle/views/Security/login.html.twig  >  Download  
File: app/Resources/FOSUserBundle/views/Security/login.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Online PHP Image Transform
Application to do interactive image manipulation
Author: By
Last change:
Date: 2 years ago
Size: 1,022 bytes
 

Contents

Class file image Download
{% extends "FOSUserBundle::layout.html.twig" %}
{% block title %} {{ parent() }} - Login {% endblock %}
{% trans_default_domain 'FOSUserBundle' %}

{% block fos_user_content %}
{% if error %}
    <div class="error">{{ error|trans }}</div>
{% endif %}

<form action="{{ path("fos_user_security_check") }}" method="post">
    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />

    <label for="username">{{ 'security.login.username'|trans }}</label>
    <input type="text" id="username" name="_username" value="{{ last_username }}" required="required" />

    <label for="password">{{ 'security.login.password'|trans }}</label>
    <input type="password" id="password" name="_password" required="required" />

    <input type="checkbox" id="remember_me" name="_remember_me" value="on" />
    <label for="remember_me">{{ 'security.login.remember_me'|trans }}</label>

    <input type="submit" id="_submit" name="_submit" value="{{ 'security.login.submit'|trans }}" />
</form>
{% endblock fos_user_content %}
For more information send a message to info at phpclasses dot org.