PHP Classes

File: app/Views/Include/header.html.twig

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy   Silex MVC Blog   app/Views/Include/header.html.twig   Download  
File: app/Views/Include/header.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Silex MVC Blog
MVC based blog using on the Silex micro-framework
Author: By
Last change:
Date: 8 years ago
Size: 701 bytes
 

Contents

Class file image Download
<div class="row header"> <div class="header-logo col-md-4"> <a href="http://symfony.com/"> <img src="{{ asset('/img/assets/symfony/header-logo.svg') }}" alt="Symfony" class="img-responsive"> </a> </div> <div class="log-in-out col-md-2" style="margin-top: 23px;"> {% if app.user and is_granted('IS_AUTHENTICATED_FULLY') %} <a href="{{ path('logout') }}">{{ 'logout'|trans|capitalize }} </a>({{ app.user.username }}) {% else %} <a href="{{ path('login') }}">{{ 'login'|trans|capitalize }}</a> / <a href="{{ path('registration') }}">{{ 'registration'|trans|capitalize }}</a> {% endif %} </div> </div>