PHP Classes

File: src/Acme/Resources/views/acme/admin/login.html.twig

Recommend this page to a friend!
  Classes of Rafael Espinosa   Silex Enhanced   src/Acme/Resources/views/acme/admin/login.html.twig   Download  
File: src/Acme/Resources/views/acme/admin/login.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Silex Enhanced
Silex with custom services providers.
Author: By
Last change:
Date: 9 years ago
Size: 1,567 bytes
 

Contents

Class file image Download
{% extends "bootstrap.base.twig" %} {% block pagetitle %}Login{% endblock %} {% block htmlhead %} {% endblock %} {% block header %}{% endblock %} {% block content %} <div class="container"> <div class="panel panel-primary" style="margin: 20px 5px 10px 5px"> <div class="panel-heading">Login</div> <div class="panel-body"> <form role="form" action="{{ path('login_check') }}" method="post"><fieldset> <div class="form-group"> <input class="form-control" placeholder="Username (admin)" name="_username" value="{{ last_username }}" autofocus> </div> <div class="form-group"> <input class="form-control" placeholder="Password (foo)" name="_password" type="password" value=""> </div> <!-- Change this to a button or input when using this as a form --> {#<a href="#" class="btn btn-lg btn-success btn-block">Login</a>#} <button type="submit" class="btn btn-lg btn-primary btn-block">Sign in</button> </fieldset></form> </div> </div> {% if error != ''%} <div id="alert" class="alert alert-danger"> <button class="close" data-dismiss="alert" type="button">×</button> <h4>Error</h4> {{ error }} </div> {% endif %} </div> {% endblock %} {% block footer %}{% endblock %}