                {{ __('contenttypes.generic.show-more', {'%contenttypes%': contenttype}) }} »

{{ __('contenttypes.generic.recently-edited', {'%contenttypes%': contenttype}) }}

{{ include('@bolt/_sub/_record_list_data.twig') }}

        {% for content in multiplecontent %}
            {% set listing_vars = {
                'compact':       true,
                'content':       content,
                'excerptlength': 280,
                'permissions':   context.permissions[contenttype],
                'thumbsize':     54,
            } %}
            {{ include(['@bolt/custom/listing/' ~ content.contenttype.slug ~ '.twig', '@bolt/_sub/_listing.twig'],  listing_vars) }}
        {% endfor %}

Add data-contenttype to the recently edited listing


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

            Главная |
            Фильмы |
            Актеры |
            Жанры

        {% block body -%}{% endblock %}

Add category link in navigation

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

            Главная |
            Фильмы |
            Категории |
            Актеры |
            Жанры

        {% block body -%}{% endblock %}


{% extends 'FuzQuickStartBundle::layout.html.twig' %}

{% block body %}

Forms List

        {% for form in listForms %}

                    {{ form.title }}

        {% endfor %}

Actions

                    New Form

{% endblock %}

Index with a link towards the form to use it and another one to modify it


{% extends 'MunicipalesBundle:theme:layout.html.twig' %}

{% block title %}{{ 'candidacy.step9.html_title'|trans }}{% endblock %}

{% from 'MunicipalesBundle:macros:steps.html.twig' import steps_widget %}

{% block content %}

{{ 'home.step_h2'|trans }} 9

          {{ 'candidacy.step9.h1_title'|trans }}

                  {{ steps_widget(9) }}

                  		{{ 'candidacy.step9.results'|trans }}

							Puedes auditar el resultado aquí: (enlace a TRactis)
							¿Cómo funciona el sellado de tiempo? https://www.tractis.com/home/webservices/tsa

										Nombre y Apellidos
										DNI
										Número de Móvil
										Total de puntos
										Posición

										Nombre y Apellidos
										DNI
										Número de Móvil
										Total de puntos
										Posición

{% endblock %}


{{ include('blog/_delete_post_confirmation.html.twig') }}
<form action="{{ url('admin_post_delete', {id: post.id}) }}" method="post" data-confirmation="true" id="delete-form">
    <input type="hidden" name="token" value="{{ csrf_token('delete') }}" />
    <input type="submit" value="{{ 'action.delete_post'|trans }}" class="btn btn-lg btn-block btn-danger" />
</form>

Add trash icon for 'Delete post' button

{{ include('blog/_delete_post_confirmation.html.twig') }}
<form action="{{ url('admin_post_delete', {id: post.id}) }}" method="post" data-confirmation="true" id="delete-form">
    <input type="hidden" name="token" value="{{ csrf_token('delete') }}" />
    <button type="submit" class="btn btn-lg btn-block btn-danger">
        <i class="fa fa-trash" aria-hidden="true"></i>
        {{ 'action.delete_post'|trans }}
    </button>
</form>


{% set types = registry.getRegisteredChannelTypes() %}
{% if choices[value] is defined %}
    {% if types[value] is defined and types[value].icon is defined %}

    {% endif %}
    {{ choices[value]|trans }}
{% endif %}

Remove mentions on channel from integration bundle - minor css fixes


{% extends 'OroSearchBundle:Search:searchResultItem.html.twig' %}

{% set showImage = false %}

{% set entity_output = oro_config_entity('Oro\\Bundle\\OrganizationBundle\\Entity\\BusinessUnit') %}
{% set title = entity.name|default('N/A') %}
{% set entityType = entity_output.name|trans %}

Add organization field - minor fix

{% extends 'OroSearchBundle:Search:searchResultItem.html.twig' %}

{% set showImage = false %}

{% set entity_output = oro_config_entity('Oro\\Bundle\\OrganizationBundle\\Entity\\Organization') %}
{% set title = entity.name|default('N/A') %}
{% set entityType = entity_output.name|trans %}


<script type="text/javascript">
    $(document).ready(function() {
        $('#{{ id }}').datepicker({
            format: '{{ format|lower }}',
            language: '{{ app.request.locale }}',
            weekStart: {{ weekstart }},
        });
    });
</script>

Add ability to autoclose datepicker widget.

<script type="text/javascript">
    $(document).ready(function() {
        $('#{{ id }}').datepicker({
            format: '{{ format|lower }}',
            language: '{{ app.request.locale }}',
            weekStart: {{ weekstart }},
            autoclose: {{ autoclose }},
        });
    });
</script>


{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}

{% block content %}
    {% if is_granted('ROLE_SUPER_ADMIN') %}

            {{ 'Edit dashboard' | trans }}

    {% endif %}

    {% if dashboardConfiguration %}

                {{ dashboardConfiguration.title }}

        {{ dashboardConfiguration.content | raw }}
    {% else %}

                {{ 'omnext.welcome' | trans | raw }}

    {% endif %}
{% endblock %}

Fix title and edit button styling of old dashboard

{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}

{% block admin_page_title %}

        {% if dashboardConfiguration %}

                {{ dashboardConfiguration.title }}

        {% else %}

                {{ 'omnext.welcome' | trans | raw }}

        {% endif %}

{% endblock %}

{% block extra_actions_header %}
    {% if is_granted('ROLE_SUPER_ADMIN') %}

                        {{ 'Edit dashboard' | trans }}

    {% endif %}
{% endblock %}

{% block content %}
    {% if dashboardConfiguration %}

            {{ dashboardConfiguration.content | raw }}

    {% endif %}
{% endblock %}


{% extends 'VlRadRestBundle:Default:skeleton.html.twig' %}
{% block radrest_content %}

View

        {% for key in data|radrest_object_keys %}

{{ key }}: {{ attribute(data, key)|radrest_object_stringify }}

        {% endfor %}

    {% include 'VlRadRestBundle:Default:links.html.twig' %}
{% endblock %}

Add nicer default get layout

{% extends 'VlRadRestBundle:Default:skeleton.html.twig' %}
{% block radrest_content %}

View

            {% for key in data|radrest_object_keys %}

{{ key|humanize }}

{{ attribute(data, key)|radrest_object_stringify }}

            {% endfor %}

    {% include 'VlRadRestBundle:Default:links.html.twig' %}
{% endblock %}


<!DOCTYPE html>

        <meta charset="UTF-8" />
        <title>{% block title %}Take the Register{% endblock %}</title>
        {% block stylesheets %}{% endblock %}

            {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |

                    {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}

            {% else %}
                {{ 'layout.login'|trans({}, 'FOSUserBundle') }}
            {% endif %}

        {% for key, message in app.session.getFlashes() %}

            {{ message|trans({}, 'FOSUserBundle') }}

        {% endfor %}

        Dashboard

        {% block body %}{% endblock %}
        {% block javascripts %}{% endblock %}

Add block for overriden templates

<!DOCTYPE html>

        <meta charset="UTF-8" />
        <title>{% block title %}Take the Register{% endblock %}</title>
        {% block stylesheets %}{% endblock %}

            {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |

                    {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}

            {% else %}
                {{ 'layout.login'|trans({}, 'FOSUserBundle') }}
            {% endif %}

        {% for key, message in app.session.getFlashes() %}

            {{ message|trans({}, 'FOSUserBundle') }}

        {% endfor %}

        Dashboard

        {% block body %}{% endblock %}
        {% block content %}{% endblock %}
        {% block javascripts %}{% endblock %}


{% set shoppingcart_image = page.media.images|first %}

    {{ page.order|trim('.') }}

{{ page.header.title }}

        {% if shoppingcart_image %}
            {{ shoppingcart_image.cropResize(200,200).html('page.header.title','shoppingcart-thumb-image') }}
        {% else %}

        {% endif %}

        ${{ page.header.price }}

             {{ 'PLUGIN_SHOPPINGCART.DETAILS'|t }}

Extend settings for currency with blueprint

{% set shoppingcart_image = page.media.images|first %}

    {{ page.order|trim('.') }}

{{ page.header.title }}

        {% if shoppingcart_image %}
            {{ shoppingcart_image.cropResize(200,200).html('page.header.title','shoppingcart-thumb-image') }}
        {% else %}

        {% endif %}

	    {% if config.plugins.shoppingcart.placement == false %}
	        {{ config.plugins.shoppingcart.currency }}{{ page.header.price }}
	    {% else %}
	        {{ page.header.price }}{{ config.plugins.shoppingcart.currency }}
	    {% endif %}

             {{ 'PLUGIN_SHOPPINGCART.DETAILS'|t }}


{% extends 'Layout/Templates/base.html.twig' %}
{% import "Layout/Templates/macros.html.twig" as macro %}
{% block content %}
  {{ form_start(form) }}

    {{ form_rest(form) }}

          {{ macro.buttonIcon(geturl('Index'), 'times', 'lbl.Cancel'|trans|ucfirst, 'btn-default') }}

          {{ macro.buttonIcon('', 'plus-square', 'lbl.Add'|trans|ucfirst, 'btn-primary', {"id":"addButton", "type":"submit", "name":"add"}) }}

  {{ form_end(form) }}
{% endblock %}

Fix alignment content blocks add


{% extends 'KorobiWebBundle::layout.html.twig' %}

{% set page_title = "Kitty Images" %}

{% block body %}

Kitty Images :3

        {% for image in images %}

ID:  {{ image.image_id }}{% if image.has_tags %}  |  Tags:  {{ image.tags }}{% endif %}

        {% endfor %}
        {% for video in videos %}
            <video src="{{ video.source }}"></video>

ID:  {{ video.image_id }}{% if video.has_tags %}  |  Tags:  {{ video.tags }}{% endif %}

        {% endfor %}

{% endblock %}

Cut my life into pizza, this is my plastic fork

{% extends 'KorobiWebBundle::layout.html.twig' %}

{% set page_title = "Kitty Images" %}

{% block body %}

Kitty Images :3

        {% for image in images %}

ID:  {{ image.image_id }}{% if image.has_tags %}  |  Tags:  {{ image.tags }}{% endif %}

        {% endfor %}
        {% for video in videos %}
            <video src="{{ video.source }}" preload="auto" autoplay="autoplay" muted="muted" loop="loop" width="auto" height="auto"></video>

ID:  {{ video.image_id }}{% if video.has_tags %}  |  Tags:  {{ video.tags }}{% endif %}

        {% endfor %}

{% endblock %}


{% extends "::base.html.twig" %}

{% block head %}
    {{ parent() }}

    <meta http-equiv="Content-Type" content="text/html; charset={{ _charset }}" />
    <meta charset="UTF-8" />
    <meta name="robots" content="noindex,nofollow" />
    <link rel="icon" sizes="16x16" href="{{ asset('favicon.ico') }}" />
{% endblock %}

{% block body %}

                    Symfony Skeleton
                    {{ knp_menu_render('main_menu', {'nav_type': 'tabs'}) }}

Side panel

Advertising or navigation usage.

                {% for type, messages in app.session.flashbag.all() %}
                    {% for message in messages %}

                            {{ message }}

                    {% endfor %}
                {% endfor %}

                {% block content %}{% endblock %}

{% endblock %}

Fix flash messages so they work with Bootstrap

{% extends "::base.html.twig" %}

{% block head %}
    {{ parent() }}

    <meta http-equiv="Content-Type" content="text/html; charset={{ _charset }}" />
    <meta charset="UTF-8" />
    <meta name="robots" content="noindex,nofollow" />
    <link rel="icon" sizes="16x16" href="{{ asset('favicon.ico') }}" />
{% endblock %}

{% block body %}

                    Symfony Skeleton
                    {{ knp_menu_render('main_menu', {'nav_type': 'tabs'}) }}

Side panel

Advertising or navigation usage.

                {% for type, messages in app.session.flashbag.all() %}
                    {% for message in messages %}

                            <button type="button" class="close" data-dismiss="alert">×</button>
                            {{ message }}

                    {% endfor %}
                {% endfor %}

                {% block content %}{% endblock %}

{% endblock %}


{#
  Media Slider with BxSlider
  Variables that are available:
  - {{ mediaItems }}: Contains the MediaItem items
  - {{ title }}: A custom optional title that you can give when parsing from Custom module.
#}

{% if mediaItems %}

  {% block widget_heading %}
    {% if title %}

{{ title|ucfirst }}

    {% endif %}
  {% endblock %}

  {% block widget_body %}

      {% for mediaItem in mediaItems %}

      {% endfor %}

  {% endblock %}

  {% block widget_footer %}{% endblock %}

{% endif %}

Fix youtube and vimeo in the slider

{#
  Media Slider with BxSlider
  Variables that are available:
  - {{ mediaItems }}: Contains the MediaItem items
  - {{ title }}: A custom optional title that you can give when parsing from Custom module.
#}

{% if mediaItems %}

  {% block widget_heading %}
    {% if title %}

{{ title|ucfirst }}

    {% endif %}
  {% endblock %}

  {% block widget_body %}

      {% for mediaItem in mediaItems %}

        {% if mediaItem.type == 'movie' %}
          {{ mediaItem.getIncludeHTML()|raw }}
        {% else %}

        {% endif %}

      {% endfor %}

  {% endblock %}

  {% block widget_footer %}{% endblock %}

{% endif %}


                    {{ member.identity.name }}

{#{{ member.role}}#}

                    Mail : {{member.identity.email}}

                    Phone : {{ member.identity.phone}}

                    View Detail
                      /
                    Edit profil

Change card display, truncate in twig

                {{ member.identity.name }}

{#{{ member.role}}#}

                Mail : {{ member.identity.email|length > 25 ? member.identity.email|slice(0, 22) ~ '...' : member.identity.email  }}

                Phone : {{ member.identity.phone }}

                View Detail
                /
                Edit profil


{#
# This file is part of the CSSettingsBundle package.
#
# (c) Pierre du Plessis <info@customscripts.co.za>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#}

{% macro settings_section(section, settings, form) %}

    {% set form_extras %}
        {% for parent, setting in settings %}
            {% if setting is iterable %}
                {{ _self.settings_section(parent, setting, form[section]) }}
            {% endif %}
        {% endfor %}
    {% endset %}

    {% if not form[section].rendered %}
        <legend>
        {{ section|title }}
        </legend>

        {{ form_widget(form[section]) }}
    {% endif %}

    {{ form_extras }}

{% endmacro %}

Replace underscores when displaying sections

{#
# This file is part of the CSSettingsBundle package.
#
# (c) Pierre du Plessis <info@customscripts.co.za>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#}

{% macro settings_section(section, settings, form) %}

    {% set form_extras %}
        {% for parent, setting in settings %}
            {% if setting is iterable %}
                {{ _self.settings_section(parent, setting, form[section]) }}
            {% endif %}
        {% endfor %}
    {% endset %}

    {% if not form[section].rendered %}
        <legend>
        {{ section|replace({"_" : " "})|title }}
        </legend>

        {{ form_widget(form[section]) }}
    {% endif %}

    {{ form_extras }}

{% endmacro %}


{% extends "forms/field.html.twig" %}

{% block field %}
  {% embed 'forms/default/fields.html.twig' with {name: field.name, fields: field.fields} %}
    {% set initial_state = field.name == parent_value ? '' : 'display: none;' %}
    {% block outer_markup_field_open %}
      <div id="{{ parent_name ~ '__' ~ field.name }}" class="form-element" style="{{ initial_state }}">
    {% endblock %}

    {% block outer_markup_field_close %}
        </div>
    {% endblock %}
  {% endembed %}
{% endblock %}

Make elements field options to work with int and bool values

{% extends "forms/field.html.twig" %}

{% block field %}
  {% embed 'forms/default/fields.html.twig' with {name: field.name, fields: field.fields} %}
    {% set initial_state = field.name|string is not same as (parent_value|string) ? 'display: none;' %}
    {% block outer_markup_field_open %}
      <div id="{{ parent_name ~ '__' ~ field.name|string }}" class="form-element" style="{{ initial_state }}">
    {% endblock %}

    {% block outer_markup_field_close %}
        </div>
    {% endblock %}
  {% endembed %}
{% endblock %}


  {% for breadcrumb in breadcrumb %}

      {% if breadcrumb.url %}

          {{ breadcrumb.title }}

      {% else %}
        {{ breadcrumb.title }}
      {% endif %}

  {% endfor %}

Add sr-only text for the breadcrumb

{{ 'lbl.YouAreHere'|trans }}

  {% for breadcrumb in breadcrumb %}

      {% if breadcrumb.url %}

          {{ breadcrumb.title }}

      {% else %}
        {{ breadcrumb.title }}
      {% endif %}

  {% endfor %}


{% if not this.hidden %}
{% set menuCssClass = this.cssClass ~ (this.active?" active":"") ~ (this.children?" dropdown":"") %}

{%- if this.url is defined or this.children  %}{{ this.label }} {% if children %}{% endif %}{% else %}{{ this.label }}{% endif -%}
{% if this.children %}

        {%- for child in this.children -%}
            {{- child.label -}}
        {%- endfor -%}

{%- endif -%}

{% endif %}

Fix child hidden in conditionnal

{% if not this.hidden %}
{% set menuCssClass = this.cssClass ~ (this.active?" active":"") ~ (this.children?" dropdown":"") %}

{%- if this.url is defined or this.children  %}{{ this.label }} {% if children %}{% endif %}{% else %}{{ this.label }}{% endif -%}
{% if this.children %}

        {%- for child in this.children -%}
            {% if not child.hidden %}
                {{- child.label -}}
            {% endif %}
        {%- endfor -%}

{%- endif -%}

{% endif %}


{% extends "base.twig" %}

{% block content %}
	<form class="password-form" action="{{site.link}}/wp-login.php?action=postpass" method="post">
		<label for="pwbox-{{post.ID}}">Password:</label>
		<input class="password-box" name="post_password" id="pwbox-{{post.ID}}" type="password" placeholder="Password" size="20" maxlength="20" />
		<input class="password-btn" type="submit" name="Submit" value="Submit" />
	</form>
{% endblock %}

Switch to site.site_url for post password form action, over site.link

{% extends "base.twig" %}

{% block content %}
	<form class="password-form" action="{{site.site_url}}/wp-login.php?action=postpass" method="post">
		<label for="pwbox-{{post.ID}}">Password:</label>
		<input class="password-box" name="post_password" id="pwbox-{{post.ID}}" type="password" placeholder="Password" size="20" maxlength="20" />
		<input class="password-btn" type="submit" name="Submit" value="Submit" />
	</form>
{% endblock %}


{# Expects an array with
 * titles OPTIONAL, header titles
 * attrib SINGULAR, non- data bits
   * classes blah same as previous code
   * wantStripes, to enable row stripping
 * int keys for rows
   * string keys for colunms (as expected from RDBMS + NoSQL)
#}

{% if data.titles %}

	{% for ignored, val in data.titles %}
		 {{ val}}
	{% endfor %}

{% else if data.tables != false %}

	{% for name, ignored in data[0] %}
		 {{ name }}
	{% endfor %}

{% endif %}
{% for test, row in data %}
	{% if !(test == 'titles' || test == 'attrib') %}
		{% if data.attrib.wantStripes %}

		{% else %}

		{% endif %}
		{% for ignored, val in row %}
			 {{ val}}
		{% endfor %}

	{% endif %}
{% endfor %}


{% extends 'BenCoreBundle::base-navbar.html.twig' %}

{% block body %}
{{ parent() }}

Liste des projets

        {% for project in projects %}

                    {{ project.name }}

                    {{ project.description }}

                    {{ project.date|french_date }}

                    Éditer ce projet

        {% endfor %}

{% endblock %}

Add 'add a project' button

{% extends 'BenCoreBundle::base-navbar.html.twig' %}

{% block body %}
{{ parent() }}

Liste des projets

        {% for project in projects %}

                    {{ project.name }}

                    {{ project.description }}

                    {{ project.date|french_date }}

                        Éditer ce projet

        {% endfor %}

                    Ajouter un projet

{% endblock %}


{#

This file is part of the Sonata package.

(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}

{% extends base_template %}

{% block title %}{{ 'title_dashboard'|trans({}, 'SonataAdminBundle') }}{% endblock%}
{% block breadcrumb %}{% endblock %}
{% block content %}

            {% for block in blocks %}
                {% if block.position == 'left' %}
                    {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
                {% endif %}
            {% endfor %}

            {% for block in blocks %}
                {% if block.position == 'right' %}
                    {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
                {% endif %}
            {% endfor %}

{% endblock %}

Allow dashboard to be splitted into 3 parts

{#

This file is part of the Sonata package.

(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}

{% extends base_template %}

{% block title %}{{ 'title_dashboard'|trans({}, 'SonataAdminBundle') }}{% endblock%}
{% block breadcrumb %}{% endblock %}
{% block content %}

        {% set has_center = false %}
        {% for block in blocks %}
            {% if block.position == 'center' %}
                {% set has_center = true %}
            {% endif %}
        {% endfor %}

            {% for block in blocks %}
                {% if block.position == 'left' %}
                    {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
                {% endif %}
            {% endfor %}

        {% if has_center %}

                {% for block in blocks %}
                    {% if block.position == 'center' %}
                        {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
                    {% endif %}
                {% endfor %}

        {% endif %}

            {% for block in blocks %}
                {% if block.position == 'right' %}
                    {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
                {% endif %}
            {% endfor %}

{% endblock %}


    <select class="ui fluid search dropdown" name="{{ form.vars.name }}" multiple="">
        <option value="">{{ 'sylius.ui.product_attributes'|trans }}</option>
        {% for attributeField in form %}
            {% if attributeField.vars.name != '_token' %}
                <option value="{{ attributeField.vars.name }}">{{ attributeField.vars.label }}</option>
            {% endif %}
        {% endfor %}
    </select>
    <button class="ui green labeled icon button">
         {{ 'sylius.ui.add_attributes'|trans }}
    </button>

Upgrade AttributeBundle's forms to Symfony3

    {{ form_widget(form, {'attr': {'class': 'ui fluid search dropdown', 'id': 'sylius_product_attribute_choice'}}) }}
    <button class="ui green labeled icon button">
         {{ 'sylius.ui.add_attributes'|trans }}
    </button>


<!DOCTYPE html>
<html>
  <head>
    <title>
      {% block title %}
        Jobeet - Your best job board
      {% endblock %}
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    {% block stylesheets %}
      <link rel="stylesheet" href="{{ asset('bundles/gsbapplifrais/css/main.css') }}" type="text/css" media="all" />
    {% endblock %}
    {% block javascripts %}
    {% endblock %}
  </head>
  <body>
    <div>

      {% block javascripts %}
      {% endblock %}

      {% block javascripts %}
      {% endblock %}

      {% block javascripts %}
      {% endblock %}

      {% block javascripts %}
      {% endblock %}

      {% block javascripts %}
      {% endblock %}

      {% block javascripts %}
      {% endblock %}

      {% block javascripts %}
      {% endblock %}

    </div>
  </body>
</html>


        home

        new

        hello

Remove useless link (to hello)


{% extends '@SyliusShop/layout.html.twig' %}

{% block content %}
    {% block breadcrumb %}
    {% endblock %}

            {{ sonata_block_render_event('sylius.shop.account.layout.before_menu') }}

            {{ knp_menu_render('sylius.shop.account', {'template': '@SyliusUi/Menu/simple.html.twig'}) }}

            {{ sonata_block_render_event('sylius.shop.account.layout.after_menu') }}

            {{ sonata_block_render_event('sylius.shop.account.layout.before_subcontent') }}

            {% block subcontent %}
            {% endblock %}

            {{ sonata_block_render_event('sylius.shop.account.layout.after_subcontent') }}

{% endblock %}

Use SyliusShop's simple menu template in account

{% extends '@SyliusShop/layout.html.twig' %}

{% block content %}
    {% block breadcrumb %}
    {% endblock %}

            {{ sonata_block_render_event('sylius.shop.account.layout.before_menu') }}

            {{ knp_menu_render('sylius.shop.account', {'template': '@SyliusShop/Menu/simple.html.twig'}) }}

            {{ sonata_block_render_event('sylius.shop.account.layout.after_menu') }}

            {{ sonata_block_render_event('sylius.shop.account.layout.before_subcontent') }}

            {% block subcontent %}
            {% endblock %}

            {{ sonata_block_render_event('sylius.shop.account.layout.after_subcontent') }}

{% endblock %}


{% extends 'SWPFrontendBundle::layout.html.twig' %}

{% block title %}
    Home
{% endblock %}

{% block content %}

Welcome on SweetLake PHP!

            {% for event in events %}
                {% include 'SWPFrontendBundle:Meetup:p-small.html.twig' with {'meetup': event} %}
            {% endfor %}

{% endblock %}

Add message when no meetups are scheduled

{% extends 'SWPFrontendBundle::layout.html.twig' %}

{% block title %}
    Home
{% endblock %}

{% block content %}

Welcome on SweetLake PHP!

            {% if events is empty %}

No meetups scheduled yet :(

            {% else %}
                {% for event in events %}
                    {% include 'SWPFrontendBundle:Meetup:p-small.html.twig' with {'meetup': event} %}
                {% endfor %}
            {% endif %}

{% endblock %}


{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}

{% block header %}{% endblock %}

{% block extracss %}
    {% stylesheets
    "@KunstmaanDashboardBundle/Resources/ui/scss/_dashboard.scss"
        output='KunstmaanDashboardBundleAssets/css/DashboardStyle.min.css'
        filter="scss"
    %}
        <link rel="stylesheet" href="{{ asset_url }}" type="text/css"/>
    {% endstylesheets %}
{% endblock %}

{% block content %}
    {% for widget in widgets %}
        {{ render_esi(url(widget.resolvedController, {'id' : id})) }}
    {% endfor %}
{% endblock %}

{% block extrajavascript %}
    {% javascripts
    '@KunstmaanDashboardBundle/Resources/ui/js/analytics/metrics.js'
    '@KunstmaanDashboardBundle/Resources/ui/js/analytics/tabs.js'
    '@KunstmaanDashboardBundle/Resources/ui/js/analytics/goals.js'
    '@KunstmaanDashboardBundle/Resources/ui/js/libs/morris-0.5.0.js'
    '@KunstmaanDashboardBundle/Resources/ui/js/libs/raphael-2.1.2.js'
    output='KunstmaanDashboardBundleAssets/js/ga-widget.js'
    %}
        <script src="{{ asset_url }}"></script>
    {% endjavascripts %}
{% endblock %}

Fix https render_esi dashboard problem

{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}

{% block header %}{% endblock %}

{% block extracss %}
    {% stylesheets
    "@KunstmaanDashboardBundle/Resources/ui/scss/_dashboard.scss"
        output='KunstmaanDashboardBundleAssets/css/DashboardStyle.min.css'
        filter="scss"
    %}
        <link rel="stylesheet" href="{{ asset_url }}" type="text/css"/>
    {% endstylesheets %}
{% endblock %}

{% block content %}
    {% for widget in widgets %}
        {{ render_esi(path(widget.resolvedController, {'id' : id})) }}
    {% endfor %}
{% endblock %}

{% block extrajavascript %}
    {% javascripts
    '@KunstmaanDashboardBundle/Resources/ui/js/analytics/metrics.js'
    '@KunstmaanDashboardBundle/Resources/ui/js/analytics/tabs.js'
    '@KunstmaanDashboardBundle/Resources/ui/js/analytics/goals.js'
    '@KunstmaanDashboardBundle/Resources/ui/js/libs/morris-0.5.0.js'
    '@KunstmaanDashboardBundle/Resources/ui/js/libs/raphael-2.1.2.js'
    output='KunstmaanDashboardBundleAssets/js/ga-widget.js'
    %}
        <script src="{{ asset_url }}"></script>
    {% endjavascripts %}
{% endblock %}


{% extends "::base.html.twig" %}

{% block title %}Info sur la translation{% endblock %}

{% block theatre %}
{{ app.session.flash('notice')|trans }}

{% endblock theatre %}

{% block aside %}

Choisir la culture pour "{{ language.symbol }}"

<form action="{{ path('EvocatioFaqBundle_create_cultures', {'display_language': language.symbol }) }}" method="post" {{ form_enctype(edit_form) }}>
{{ form_widget(edit_form) }}

<input type="submit" value="go" />
</form>

{% endblock aside %}

Return link to language selection form

{% extends "::base.html.twig" %}

{% block title %}Info sur la translation{% endblock %}

{% block theatre %}
{{ app.session.flash('notice')|trans }}

{% endblock theatre %}

{% block aside %}

Choisir la culture pour "{{ language.symbol }}"

<form action="{{ path('EvocatioFaqBundle_create_cultures', {'display_language': language.symbol }) }}" method="post" {{ form_enctype(edit_form) }}>
{{ form_widget(edit_form) }}

<input type="submit" value="go" />
</form>

Choisir les langues

{% endblock aside %}


{% extends "base.html.twig" %}

{% block content %}

{{ organizer.name }} presents: {{ meetup.name }}

{{ meetup.scheduledFor|date() }}

{{ meetup.description }}

Attendees

    {% if attendees|length > 0 %}

        {% for user in attendees %}

{{ user.name }}

        {% endfor %}

    {% else %}

No attendees yet.

    {% endif %}

    {% if loggedInUser.userId.asInt == meetup.organizerId %}
        <form action="{{ url('list_meetups') }}" method="post">
            <input type="hidden" name="meetupId" value="{{ meetup.meetupId }}">
            <button class="btn btn-danger">Cancel this meetup</button>
        </form>
    {% else %}
        <form action="{{ url('rsvp_for_meetup') }}" method="post">
            <input type="hidden" name="meetupId" value="{{ meetup.meetupId }}">
            <button class="btn btn-success">RSVP</button>
        </form>
    {% endif %}

{% endblock %}

Fix URL for cancelling meetup

{% extends "base.html.twig" %}

{% block content %}

{{ organizer.name }} presents: {{ meetup.name }}

{{ meetup.scheduledFor|date() }}

{{ meetup.description }}

Attendees

    {% if attendees|length > 0 %}

        {% for user in attendees %}

{{ user.name }}

        {% endfor %}

    {% else %}

No attendees yet.

    {% endif %}

    {% if loggedInUser.userId.asInt == meetup.organizerId %}
        <form action="{{ url('cancel_meetup') }}" method="post">
            <input type="hidden" name="meetupId" value="{{ meetup.meetupId }}">
            <button class="btn btn-danger">Cancel this meetup</button>
        </form>
    {% else %}
        <form action="{{ url('rsvp_for_meetup') }}" method="post">
            <input type="hidden" name="meetupId" value="{{ meetup.meetupId }}">
            <button class="btn btn-success">RSVP</button>
        </form>
    {% endif %}

{% endblock %}


<input type="hidden" name="{{ name }}">

		{% for video in videos %}

				<input
					name="{{ name }}[]"
					type="hidden"
					value="{{ video.hashed_id }}"
				>

					{{ video.name }}

		{% endfor %}

= settings.max %} disabled{% endif %}"
		{% if settings.max == '1' and videos|length %}
			style="display: none"
		{% endif %}
	>
		{{ 'Add a video'|t }}

{% set jsSettings = {
	id: id|namespaceInputId,
	limit: settings.max,
	name: name|namespaceInputName,
	projectIds: settings.projects|join(',')
} %}

{% includejs %}
	new Wistia.VideoSelectInput({{ jsSettings|json_encode|raw }});
{% endincludejs %}

Convert single quotes to double

<input type="hidden" name="{{ name }}">

		{% for video in videos %}

				<input
					name="{{ name }}[]"
					type="hidden"
					value="{{ video.hashed_id }}"
				>

					{{ video.name }}

		{% endfor %}

= settings.max %} disabled{% endif %}"
		{% if settings.max == "1" and videos|length %}
			style="display: none"
		{% endif %}
	>
		{{ "Add a video"|t }}

{% set jsSettings = {
	id: id|namespaceInputId,
	limit: settings.max,
	name: name|namespaceInputName,
	projectIds: settings.projects|join(",")
} %}

{% includejs %}
	new Wistia.VideoSelectInput({{ jsSettings|json_encode|raw }});
{% endincludejs %}


{% extends "AbookBundle:Layout:layout.html.twig" %}

{% block title %} List Contact {% endblock %}

{% block body %}

    <fieldset>
        <legend>Contact List</legend>

                    First Name
                    Last Name
                    Address

            {% for current in contact %}

                    {{ current.firstName }}
                    {{ current.lastName }}
                    {{ current.address }}

            {% else %}

No data found

            {% endfor %}

    </fieldset>

{% endblock %}

Add field into contact list

{% extends "AbookBundle:Layout:layout.html.twig" %}

{% block title %} List Contact {% endblock %}

{% block body %}

    <fieldset>
        <legend>Contact List</legend>

                    #
                    First Name
                    Last Name
                    Address

            {% for current in contact %}

                    {{ current.idContact }}
                    {{ current.firstName }}
                    {{ current.lastName }}
                    {{ current.address }}

            {% else %}

No data found

            {% endfor %}

    </fieldset>

{% endblock %}


{% extends '::base_admin.html.twig' %}

{% block body -%}

Bievenue sur l'admin

{% endblock %}

Add text for user index

{% extends '::base_admin.html.twig' %}
{% block h1 -%}

Bievenue sur l'admin

{% endblock %}
{% block body -%}

En tant qu’utilisateur vous pouvez éditer ou supprimer vos Media avant leurs publications.

    Gérer les catégories, les mots clés,et les types de média.

{% endblock %}


Remove Contact Address ACL resource and use Contact instead


{% extends 'MissTheRaidAttendanceBundle::base.html.twig' %}

{% block form -%}

            {% include 'MissTheRaidCharacterBundle:includes:guild-table.html.twig' %}

I'm going to miss the raid...

            {{ form(form) }}

{% endblock %}

Hide the guild list on small devices.


{% block list_filters %}
{{ echo_block('list_filters') }}
<form action="{{ echo_path(namespace_prefix ~ '_' ~ bundle_name ~ "_filters" ) }}" method="post" {{ echo_twig("form_enctype(form)") }}>
    <fieldset class="form_block form_fieldset_NONE">
        {{ echo_twig("form_errors(form)") }}
        {% for field in builder.filters.display %}

                {{ echo_twig("form_label(form['" ~ field ~ "'], '" ~ builder.FilterColumns[field].label ~ "' )") }}
                {{ echo_twig("form_widget(form['" ~ field ~ "'])") }}
                {{ echo_twig("form_errors(form['" ~ field ~ "'])") }}

        {% endfor %}

                 {{ echo_twig("form_rest(form)") }}
                 <input type="submit" class="submit_button" value="{{ echo_trans('list.filter.btn_filter') }}" />
                 <input type="submit" class="reset_button" name="reset" value="{{ echo_trans('list.filter.btn_reset') }}" />

    </fieldset>
</form>
{{ echo_endblock() }}
{% endblock %}

Fix rendering filters when display is ~

{% block list_filters %}
{{ echo_block('list_filters') }}
<form action="{{ echo_path(namespace_prefix ~ '_' ~ bundle_name ~ "_filters" ) }}" method="post" {{ echo_twig("form_enctype(form)") }}>
    <fieldset class="form_block form_fieldset_NONE">
        {{ echo_twig("form_errors(form)") }}
        {% for field in builder.filterColumns %}

                {{ echo_twig("form_label(form['" ~ field.name ~ "'], '" ~ builder.FilterColumns[field.name].label ~ "' )") }}
                {{ echo_twig("form_widget(form['" ~ field.name ~ "'])") }}
                {{ echo_twig("form_errors(form['" ~ field.name ~ "'])") }}

        {% endfor %}

                 {{ echo_twig("form_rest(form)") }}
                 <input type="submit" class="submit_button" value="{{ echo_trans('list.filter.btn_filter') }}" />
                 <input type="submit" class="reset_button" name="reset" value="{{ echo_trans('list.filter.btn_reset') }}" />

    </fieldset>
</form>
{{ echo_endblock() }}
{% endblock %}


{% extends 'Th3MoukCMSCoreBundle::sonata_layout.html.twig' %}

{% block side_bar_after_nav %}

v1.1.3

{% endblock %}

{% block javascripts %}
    {{ parent() }}

{% endblock %}

Clean no longer needed blocks


{#=== OPTIONS ========================================================================================================#}

{% set option = {
    class:     field.class|default(''),
    height:    field.height|default(''),
    label:     field.label|default(''),
    required:  field.required|default(false),
    errortext: field.error|default(''),
    info:      field.info|default(''),
    options:   field.options.ckeditor|default('')
} %}

{#=== INIT ===========================================================================================================#}

{% set param = {} %}

{% if option.height %}
    {% set param = param|merge({height: option.height}) %}
{% endif %}

{% if option.options %}
    {% set param = param|merge({ckeditor: option.options}) %}
{% endif %}

{% set attr_html = {
    class:               option.class ~ ' ckeditor',
    data_param:          param ? param|json_encode : '',
    name_id:             key,
    required:            option.required,
    data_errortext:      option.errortext,
    style:               (option.height) ? 'height: ' ~ option.height : '',
} %}

{#=== FIELDSET =======================================================================================================#}

<fieldset class="html">

        {{ (option.info) ? macro.infopop(labelkey, option.info) : labelkey }}
        <textarea{{ macro.attr(attr_html) }}>{{ context.content.get(key)|default('') }}</textarea>

</fieldset>

Remove setting height via style

{#=== OPTIONS ========================================================================================================#}

{% set option = {
    class:     field.class|default(''),
    height:    field.height|default(''),
    label:     field.label|default(''),
    required:  field.required|default(false),
    errortext: field.error|default(''),
    info:      field.info|default(''),
    options:   field.options.ckeditor|default('')
} %}

{#=== INIT ===========================================================================================================#}

{% set param = {} %}

{% if option.height %}
    {% set param = param|merge({height: option.height}) %}
{% endif %}

{% if option.options %}
    {% set param = param|merge({ckeditor: option.options}) %}
{% endif %}

{% set attr_html = {
    class:               option.class ~ ' ckeditor',
    data_param:          param ? param|json_encode : '',
    name_id:             key,
    required:            option.required,
    data_errortext:      option.errortext
} %}

{#=== FIELDSET =======================================================================================================#}

<fieldset class="html">

        {{ (option.info) ? macro.infopop(labelkey, option.info) : labelkey }}
        <textarea{{ macro.attr(attr_html) }}>{{ context.content.get(key)|default('') }}</textarea>

</fieldset>


                {{ pagination.paginationData.firstItemNumber }}-{{ pagination.paginationData.lastItemNumber }}

            {% trans %}of about{% endtrans %}
            {{ pagination.getTotalItemCount }}
            {% trans %}results{% endtrans %}

            {% for document in pagination %}

                    {% if document.cover|default %}

                    {% endif %}

{{ document.title }}

{{ document.intro[0]|default(document.content[0])|striptags }}

            {% endfor %}

        {{ knp_pagination_render(pagination) }}

Use integrated_image instead of integrated_image_json


{% extends 'AcmeFilmsBundle::base.html.twig' %}

{% block body -%}

Genre list

                Name
                Genres
                Actors

        {% for entity in entities %}

                {{ entity.name }}
                {{ entity.genres|join(',') }}
                {{ entity.actors|join(',') }}

        {% endfor %}

{% endblock %}

Add field 'Categories' in films table

{% extends 'AcmeFilmsBundle::base.html.twig' %}

{% block body -%}

Genre list

                Name
                Categories
                Genres
                Actors

        {% for entity in entities %}

                {{ entity.name }}
                {{ entity.categories|join(',') }}
                {{ entity.genres|join(',') }}
                {{ entity.actors|join(',') }}

        {% endfor %}

{% endblock %}


{#
    Renders datagrid widget

    parameters:
        name: datagrid name
        params: additional parameters for url
        renderParams: parameters for grid UI
#}
{% macro renderGrid(name, params = {}, renderParams = {}) %}
    {% set datagrid = oro_datagrid_build(name, params) %}
    {% set metaData = oro_datagrid_metadata(datagrid, params) %}
    {% set data     = oro_datagrid_data(datagrid) %}

{% endmacro %}

Merge Accounts from different channels. Broken Orders and Carts widgets

{#
    Renders datagrid widget

    parameters:
        name: datagrid name
        params: additional parameters for url
        renderParams: parameters for grid UI
#}
{% macro renderGrid(name, params = {}, renderParams = {}) %}
    {% set datagrid = oro_datagrid_build(name, params) %}
    {% set metaData = oro_datagrid_metadata(datagrid, params) %}
    {% set data     = oro_datagrid_data(datagrid) %}
    {% set gridId   = 'grid-' ~ name  %}
    {% set gridSelector = gridId ~ '-' ~ random() %}

{% endmacro %}


{% extends "PackagistWebBundle::layout.html.twig" %}

{% import "PackagistWebBundle::macros.html.twig" as macros %}

{% block content %}
    {% block content_title %}
Packages
{% endblock %}
    {% block lists %}

New Releases RSS

            {{ macros.listPackagesShort(newlyReleased, true) }}

New Packages RSS

            {{ macros.listPackagesShort(newlySubmitted) }}

Popular Packages View All

            {{ macros.listPackagesShort(popular, false, true) }}

Random Packages

            {{ macros.listPackagesShort(random) }}

    {% endblock %}
{% endblock %}

Fix display of the Browse page when right list is shorter


{% block user_block %}

      Main page

      Logout

{% endblock%}

Remove logout link from admin


{% extends status_code == 403 ? bap.layout : 'TwigBundle::layout.html.twig' %}

{% if status_code == 403 %}
    {% block title %}
        {{ exception.message }} ({{ status_code }} {{ status_text }})
    {% endblock %}
    {% block body %}
        {% include 'TwigBundle:Exception:exception.html.twig' %}
    {% endblock %}
{% else %}
    {% block content %}

{{ status_code }} {{ status_text }}

            {% if 404 == status_code %}

The URL you requested was not found.

            {% else %}

            {% endif %}

    {% endblock %}
{% endif %}


{{sectionTitleRaw}}

{% for post in feed|slice(0, count)  %}

{{ post.time }}

{{ post.message }}

    {{ post.image }}

{% endfor %}

Add raw filters into Posts

{{ sectionTitleRaw|raw }}

{% for post in feed|slice(0, count)  %}

{{ post.time|raw }}

{{ post.message|raw }}

    {{ post.image|raw }}

{% endfor %}


<?php

namespace {{ namespace }};

use Oro\Bundle\EmailBundle\Entity\Util\EmailUtil;
use Doctrine\ORM\Mapping as ORM;
use JMS\Serializer\Annotation\Type;
use JMS\Serializer\Annotation\Exclude;
use Oro\Bundle\EmailBundle\Entity\EmailAddress;
use Oro\Bundle\EmailBundle\Entity\EmailOwnerInterface;

class {{ className }} extends EmailAddress
{
{% for owner in owners %}
    /**
     * @var EmailOwnerInterface
     * @Exclude
     */
    private ${{ owner.fieldName }};
{% endfor %}

    /**
     * {@inheritdoc}
     */
    public function getOwner()
    {
{% for owner in owners %}
        if ($this->{{ owner.fieldName }} !== null) {
            return $this->{{ owner.fieldName }};
        }
{% endfor %}

        return null;
    }

    /**
     * {@inheritdoc}
     */
    public function setOwner(EmailOwnerInterface $owner = null)
    {
{% for owner in owners %}
        if ($owner !== null && is_a($owner, '{{ owner.targetEntity }}')) {
            $this->{{ owner.fieldName }} = $owner;
        } else {
            $this->{{ owner.fieldName }} = null;
        }
{% endfor %}
        $this->hasOwner = ($owner !== null);

        return $this;
    }

    /**
     * Pre persist event listener
     */
    public function beforeSave()
    {
        $date = EmailUtil::currentUTCDateTime();
        $this->setCreatedAt($date);
        $this->setUpdatedAt($date);
    }

    /**
     * Pre update event listener
     */
    public function beforeUpdate()
    {
        $this->setUpdatedAt(EmailUtil::currentUTCDateTime());
    }
}

Relocate Email Proxy to cache folder

<?php

namespace {{ namespace }};

use Oro\Bundle\EmailBundle\Entity\Util\EmailUtil;
use Oro\Bundle\EmailBundle\Entity\EmailAddress;
use Oro\Bundle\EmailBundle\Entity\EmailOwnerInterface;

class {{ className }} extends EmailAddress
{
{% for owner in owners %}
    /**
     * @var EmailOwnerInterface
     */
    private ${{ owner.fieldName }};
{% endfor %}

    /**
     * {@inheritdoc}
     */
    public function getOwner()
    {
{% for owner in owners %}
        if ($this->{{ owner.fieldName }} !== null) {
            return $this->{{ owner.fieldName }};
        }
{% endfor %}

        return null;
    }

    /**
     * {@inheritdoc}
     */
    public function setOwner(EmailOwnerInterface $owner = null)
    {
{% for owner in owners %}
        if ($owner !== null && is_a($owner, '{{ owner.targetEntity }}')) {
            $this->{{ owner.fieldName }} = $owner;
        } else {
            $this->{{ owner.fieldName }} = null;
        }
{% endfor %}
        $this->hasOwner = ($owner !== null);

        return $this;
    }

    /**
     * Pre persist event listener
     */
    public function beforeSave()
    {
        $date = EmailUtil::currentUTCDateTime();
        $this->setCreatedAt($date);
        $this->setUpdatedAt($date);
    }

    /**
     * Pre update event listener
     */
    public function beforeUpdate()
    {
        $this->setUpdatedAt(EmailUtil::currentUTCDateTime());
    }
}


{% set _select2_locales = ['ar', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'eu', 'fa', 'fi', 'fr', 'gl', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'km', 'ko', 'lt', 'lv', 'mk', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt', 'ro', 'ru', 'sk', 'sr-Cyrl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW'] %}
{% set _app_language = app.request.locale|split('-')|first|split('_')|first %}
{% set _select2_locale = app.request.locale in _select2_locales
    ? app.request.locale
    : _app_language in _select2_locales ? _app_language : 'en'
%}

<script src="{{ asset('bundles/easyadmin/javascript/select2/i18n/' ~ _select2_locale ~ '.js') }}"></script>
<script type="text/javascript">
$(function() {
    // Select2 widget is only enabled for the <select> elements which
    // explicitly ask for it
    $('#main').find('form select[data-widget="select2"]').select2({
        theme: 'bootstrap',
        language: '{{ _select2_locale }}'
    });
});
</script>

Initialize Select2 in collections on item-add

{% set _select2_locales = ['ar', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'eu', 'fa', 'fi', 'fr', 'gl', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'km', 'ko', 'lt', 'lv', 'mk', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt', 'ro', 'ru', 'sk', 'sr-Cyrl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW'] %}
{% set _app_language = app.request.locale|split('-')|first|split('_')|first %}
{% set _select2_locale = app.request.locale in _select2_locales
    ? app.request.locale
    : _app_language in _select2_locales ? _app_language : 'en'
%}

<script src="{{ asset('bundles/easyadmin/javascript/select2/i18n/' ~ _select2_locale ~ '.js') }}"></script>
<script type="text/javascript">
  $(function() {
    // Select2 widget is only enabled for the <select> elements which
    // explicitly ask for it

    function init() {
      $('#main').find('form select[data-widget="select2"]').select2({
        theme: 'bootstrap',
        language: '{{ _select2_locale }}'
      });
    }

    $(document).on('easyadmin.collection.item-added', init);
    init();
  });
</script>


{% set handler = mediamanager.getHandler(media) %}
{% set helper = handler.getFormHelper(media) %}
{% if helper.type == 'youtube' %}

{% elseif helper.type == 'vimeo' %}

{% elseif helper.type == 'dailymotion' %}

{% endif %}

Use // and not http/https


{%  include 'snippets/header' %}

    {% if _page.isHome == false %}
        {{ _page.breadcrumb }}
    {% endif %}

                {{ _page.content() }}

                {{ _api.navigation.getSubNavigationByUrl.key('main').getParentItem('yes').showSubNav('yes').template('sidebar') }}

{%  include 'snippets/footer' %}

Set the gutter to be xlg


{% extends "MgatePersonneBundle::layout.html.twig" %}

{% block title %}
    Ajouter une Filière {{ parent() }}
{% endblock %}

{% block content_title %}
    Ajouter une Filière
{% endblock %}

{% block content_bundle %}

    {{ form_start(form) }}

    {{ form_label(form.nom) }} {{ form_widget(form.nom) }} {{ form_errors(form.nom) }}

    {{ form_label(form.description) }} {{ form_widget(form.description) }} {{ form_errors(form.description) }}

    <input type="submit" class="btn"/>
    {{ form_end(form) }}

{% endblock %}

Add value to submit button on filiere::ajouter template

{% extends "MgatePersonneBundle::layout.html.twig" %}

{% block title %}
    Ajouter une Filière {{ parent() }}
{% endblock %}

{% block content_title %}
    Ajouter une Filière
{% endblock %}

{% block content_bundle %}

    {{ form_start(form) }}

    {{ form_label(form.nom) }} {{ form_widget(form.nom) }} {{ form_errors(form.nom) }}

    {{ form_label(form.description) }} {{ form_widget(form.description) }} {{ form_errors(form.description) }}

    <input type="submit" class="btn" value="Valider"/>
    {{ form_end(form) }}

{% endblock %}


{% if is_granted('IS_AUTHENTICATED_FULLY') %}

Мои пряники

{{ user.gold|default:0 }}

Пряники для благодарности

    Для всех: {{ user.chocolate|default:0 }}

{% endif %}

Correct medals count for the 'null' value

{% if is_granted('IS_AUTHENTICATED_FULLY') %}

Мои пряники

{{ user.gold|default:('0') }}

Пряники для благодарности

    Для всех: {{ user.chocolate|default:('0') }}

{% endif %}


{% block form_row %}
{% spaceless %}

        A{{ form_label(form) }}
        B{{ form_errors(form) }}
        C{{ form_widget(form) }}

{% endspaceless %}
{% endblock form_row %}

{% block form_widget_simple %}
    {% set type = type|default('text') %}

        	<input type="{{ type }}" {{ block('widget_attributes') }} {% if value is not empty %}value="{{ value }}" {% endif %}>

{% endblock form_widget_simple %}

{% block form_label %}
	   {% if label is not sameas(false) %}
	        {% if not compound %}
	            {% set label_attr = label_attr|merge({'for': id}) %}
	        {% endif %}
	        {% if required -%}
	            {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' required')|trim}) %}
	        {% endif %}
	        {% if label is empty %}
	            {% if label_format is not empty %}
	                {% set label = label_format|replace({
	                    '%name%': name,
	                    '%id%': id,
	                }) %}
	            {% else %}
	                {% set label = name|humanize %}
	            {% endif %}
	        {% endif %}

	        {{ label|trans({}, translation_domain) }}{% if required %}
	         *
	   {% endif %}
	    {% endif %}

{% endblock %}

{%- block submit_widget -%}
    {%- set type = type|default('submit') -%}
    {{ block('button_widget') }}
{%- endblock submit_widget -%}

{%- block button_widget -%}
    {%- if label is empty -%}
        {%- if label_format is not empty -%}
            {% set label = label_format|replace({
                '%name%': name,
                '%id%': id,
            }) %}
        {%- else -%}
            {% set label = name|humanize %}
        {%- endif -%}
    {%- endif -%}
    <button type="{{ type|default('button') }}" {{ block('button_attributes') }}>{{ label|trans({}, translation_domain)|raw }}</button>
{%- endblock button_widget -%}

{%- block button_attributes -%}
    id="{{ id }}" name="{{ full_name }}"{% if disabled %} disabled="disabled"{% endif -%}
    {%- for attrname, attrvalue in attr -%}
        {{- " " -}}
        {%- if attrname in ['placeholder', 'title', 'class'] -%}
            {{- attrname }}="{{ attrvalue|trans({}, translation_domain) }}"
        {%- elseif attrvalue is sameas(true) -%}
            {{- attrname }}="{{ attrname }}"
        {%- elseif attrvalue is not sameas(false) -%}
            {{- attrname }}="{{ attrvalue }}"
        {%- endif -%}
    {%- endfor -%}
{%- endblock button_attributes -%}


{% import 'OroWorkflowBundle::macros.html.twig' as workflowMacros %}

{% set params = {
    workflowName: workflow.name,
    transitionName: transition.name,
    entityClass: context.entityClass,
    entityId: context.entityId,
    route: context.routeName,
    datagrid: context.datagridName,
    group: context.group,
} %}

{% if transition.displayType == 'dialog' %}
    {% if transition.hasForm() %}
        {% set transitionData = transitionData|merge({'dialog-url': path(transitionData['dialog-route'], params) }) %}
    {% endif %}
    {% set transitionData = transitionData|merge({'transition-url': path(transitionData['transition-route'], params) }) %}
{% else %}
    {% set transitionData = transitionData|merge({'transition-url': path(transitionData['page-route'], params) }) %}
{% endif %}

<div class="pull-left btn-group icons-holder">
    {{ workflowMacros.renderTransitionButton(workflow, transition, null, transitionData) }}
</div>

Test and merge to master - fixed form title

{% import 'OroWorkflowBundle::macros.html.twig' as workflowMacros %}

{% set params = {
    workflowName: workflow.name,
    transitionName: transition.name,
    entityClass: context.entityClass,
    entityId: context.entityId,
    route: context.routeName,
    datagrid: context.datagridName,
    group: context.group,
} %}

{% if transition.displayType == 'dialog' %}
    {% if transition.hasForm() %}
        {% set transitionData = transitionData|merge({'dialog-url': path(transitionData['dialog-route'], params) }) %}
    {% endif %}
    {% set transitionData = transitionData|merge({'transition-url': path(transitionData['transition-route'], params) }) %}
{% else %}
    {% set transitionData = transitionData|merge({'transition-url': path(transitionData['page-route'], params) }) %}
{% endif %}

{# Show button for start or transit workflow #}
{% set transitionMessage = transition.message|trans({},'workflows') %}
{% if transitionMessage == transition.message %}
    {# if no translation for message then do not show message #}
    {% set transitionMessage = '' %}
{% endif %}

{% set transitionData = transitionData|merge({
    'transition-label': transition.label|trans({},'workflows'),
    'message': transitionMessage|nl2br
}) %}

<div class="pull-left btn-group icons-holder">
    {{ workflowMacros.renderTransitionButton(workflow, transition, null, transitionData) }}
</div>


{% extends 'BehatViewerBundle::layout.html.twig' %}

{% block container %}

Navigation

Home

                {% for section in sections %}

{{ section }}

                {% endfor %}

        {{ help | markdown }}

{% endblock %}

{% block javascript %}

{% endblock %}

Fix prettify on help page


{% extends 'FDPrivateMessageBundle::layout.html.twig' %}

{% trans_default_domain 'FDPrivateMessageBundle' %}

{% block fd_private_message_content %}

{{ conversation.subject }}

{{ 'conversation.back' | trans }}

    {% if conversation.recipients | length > 1 %}
        {{ 'conversation.recipients' | trans }} :

        {% for recipient in conversation.recipients %}
            {{ recipient.username }}
        {% endfor %}
    {% else %}
        {{ 'conversation.alone' | trans }}
    {% endif %}

    {# A conversation MUST have messages #}
    {% for message in conversation.messages %}

{{ message.author }}, {{ message.created | date('Y-m-d H:i:s') }}

{{ message.body }}

    {% endfor %}

{{ form_start(form) }}
    {{ form_widget(form) }}

    <input type="submit" value="{{ 'private_message.create.submit' | trans }}">
{{ form_end(form) }}
{% endblock %}

Fix object to string conversion

{% extends 'FDPrivateMessageBundle::layout.html.twig' %}

{% trans_default_domain 'FDPrivateMessageBundle' %}

{% block fd_private_message_content %}

{{ conversation.subject }}

{{ 'conversation.back' | trans }}

    {% if conversation.recipients | length > 1 %}
        {{ 'conversation.recipients' | trans }} :

        {% for recipient in conversation.recipients %}
            {{ recipient.username }}
        {% endfor %}
    {% else %}
        {{ 'conversation.alone' | trans }}
    {% endif %}

    {# A conversation MUST have messages #}
    {% for message in conversation.messages %}

{{ message.author.username }}, {{ message.created | date('Y-m-d H:i:s') }}

{{ message.body }}

    {% endfor %}

{{ form_start(form) }}
    {{ form_widget(form) }}

    <input type="submit" value="{{ 'private_message.create.submit' | trans }}">
{{ form_end(form) }}
{% endblock %}


Congratulations!

    You have successfully created a new Symfony2 application.

Use well-formed HTML in the default page

<!DOCTYPE html>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Congratulations</title>

Congratulations!

You have successfully created a new Symfony2 application.


<?php

/**
 * {{ controllerName }}
 *
 */
class {{ controllerName }}
{

    public function watch($channel)
    {
        echo 'You are watching ' . $channel;
    }

}

Change template, return value instead

<?php

/**
 * {{ controllerName }}
 *
 */
class {{ controllerName }}
{

    public function watch($channel)
    {
        return 'You are watching ' . $channel;
    }

}


<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8"/>
        <title>{% block title %}{% endblock %} The Game by UYBGames</title>
        {# Start of Javascript libraries#}
        <link rel="stylesheet" type='text/css' href="{{ jsLibrary }}/jquery-ui-1.11.4.custom/jquery-ui.css"/>
        <script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.6.1/less.min.js"></script>
        {# Start of CSS libraries#}
        <link rel="stylesheet" type='text/css' href="{{ cssLibrary }}/thegame.css"/>
        <link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css?family=Orbitron:400,700|Duru+Sans'/>
        {% block stylesheets %}{% endblock %}
        <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}"/>
    </head>
    <body>
        {% block body %}{% endblock %}
        {% block javascripts %}{% endblock %}
    </body>
</html>

Remove the link pointing the Lessjs CDN file. It was not needed, because the CSS is generated automatically

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8"/>
        <title>{% block title %}{% endblock %} The Game by UYBGames</title>
        {# Start of Javascript libraries#}
        <link rel="stylesheet" type='text/css' href="{{ jsLibrary }}/jquery-ui-1.11.4.custom/jquery-ui.css"/>
        {# Start of CSS libraries#}
        <link rel="stylesheet" type='text/css' href="{{ cssLibrary }}/thegame.css"/>
        <link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css?family=Orbitron:400,700|Duru+Sans'/>
        {% block stylesheets %}{% endblock %}
        <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}"/>
    </head>
    <body>
        {% block body %}{% endblock %}
        {% block javascripts %}{% endblock %}
    </body>
</html>


{% extends 'UMRAMemberBundle::nav.html.twig' %}

{% block modulecontent -%}

Create a New Household

    {{ form(form) }}

                Back to the list

{% endblock %}

Fix incorrectly styled record actions area on Household::new template


{% extends "base.twig" %}

{% block title %}{% endblock %}

{% block nav %}

kennyl.im

      {% block navmenu %}
      {% endblock %}

{% endblock %}

{% block content %}

{{ meta['header'] }}

        {{ include(template_from_string(contents)) | markdown }}

{% endblock %}

{% block footer %}

 CC-BY-NC 4.0 |  mailto[at]kennyl[dot]im |

{% endblock %}

Use the base URL from the framework for the link on our logo instead of hardcoding it


{% extends 'MunicipalesBundle:theme:layout.html.twig' %}

{% block title %}{{ 'candidate.html_title'|trans }}{% endblock %}
{% block content %}

{{ 'candidate.h1_title'|trans }}

			{{ error }}

{% endblock %}


{% trans_default_domain 'FOSUserBundle' %}

{{ form_start(form, {'method': 'post', 'action': path('fos_user_registration_register'), 'attr': {'class': 'fos_user_registration_register'}}) }}
    {{ form_widget(form) }}
<div>
    <input type="submit" value="{{ 'registration.submit'|trans }}" />
</div>
{{ form_end(form) }}

Change layout of registration form

{% trans_default_domain 'FOSUserBundle' %}

Register to Fennec

{{ form_start(form, {'method': 'post', 'action': path('fos_user_registration_register'), 'attr': {'class': 'fos_user_registration_register'}}) }}

        {{ form_row(form.email) }}

        {{ form_row(form.firstName) }}

        {{ form_row(form.lastName) }}

        {{ form_row(form.username) }}

        {{ form_row(form.plainPassword) }}

    <input class="btn btn-primary" type="submit" value="{{ 'registration.submit'|trans }}" />

{{ form_end(form) }}


<?php

namespace {{ namespace }}\DependencyInjection;

{% block use_statements %}
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
{% endblock use_statements %}

/**
{% block phpdoc_class_header %}
 * This is the class that loads and manages your bundle configuration.
{% endblock phpdoc_class_header %}
 *
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
 */
{% block class_definition %}
class {{ bundle_basename }}Extension extends Extension
{% endblock class_definition %}
{
{% block class_body %}
    /**
     * {@inheritdoc}
     */
    public function load(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration();
        $config = $this->processConfiguration($configuration, $configs);

        {% if format == 'yml' or format == 'annotation' -%}
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.yml');
        {%- elseif format == 'xml' -%}
        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.xml');
        {%- elseif format == 'php' -%}
        $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.php');
        {%- endif %}

    }
{% endblock class_body %}
}

Fix PSR2 line length recommendations

<?php

namespace {{ namespace }}\DependencyInjection;

{% block use_statements %}
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
{% endblock use_statements %}

/**
{% block phpdoc_class_header %}
 * This is the class that loads and manages your bundle configuration.
{% endblock phpdoc_class_header %}
 *
 * @link http://symfony.com/doc/current/cookbook/bundles/extension.html
 */
{% block class_definition %}
class {{ bundle_basename }}Extension extends Extension
{% endblock class_definition %}
{
{% block class_body %}
    /**
     * {@inheritdoc}
     */
    public function load(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration();
        $config = $this->processConfiguration($configuration, $configs);

        {% if format == 'yml' or format == 'annotation' -%}
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.yml');
        {%- elseif format == 'xml' -%}
        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.xml');
        {%- elseif format == 'php' -%}
        $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.php');
        {%- endif %}

    }
{% endblock class_body %}
}


{% extends '::base.html.twig' %}
{% block head_style %}
    {% stylesheets
        '@SurfnetStepupGatewayGatewayBundle/Resources/public/css/hiddensubmit.css' %}
    <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="screen"/>
    {% endstylesheets %}
{% endblock head_style %}
{% block head_script %}
    {% javascripts
    '@SurfnetStepupGatewayGatewayBundle/Resources/public/js/submitonload.js'%}
    <script type="text/javascript" src="{{ asset_url }}"></script>
    {% endjavascripts %}
{% endblock head_script %}

{% block page_title %}{{ 'gateway.gateway.consume_assertion.title'|trans }}{% endblock %}

{% block body %}
    <noscript>
        <b>Note: </b> javascript is disabled, please click the button below to proceed
    </noscript>
    One moment please...
    <form method="post" action="{{ acu }}">
        <input type="hidden" name="SAMLResponse" value="{{ samlResponse }}" />
        <input type="hidden" name="AuthMethod" value="{{ authMethod|escape }}" />
        <input type="hidden" name="Context" value="{{ context|escape }}" />
        <input type="submit" class="hidden" />
        <noscript>
            <input type="submit" value="Submit"/>
        </noscript>
    </form>
{% endblock %}

Use "_SAMLResponse" for ADFS SFO MFA Plugin

{% extends '::base.html.twig' %}
{% block head_style %}
    {% stylesheets
        '@SurfnetStepupGatewayGatewayBundle/Resources/public/css/hiddensubmit.css' %}
    <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="screen"/>
    {% endstylesheets %}
{% endblock head_style %}
{% block head_script %}
    {% javascripts
    '@SurfnetStepupGatewayGatewayBundle/Resources/public/js/submitonload.js'%}
    <script type="text/javascript" src="{{ asset_url }}"></script>
    {% endjavascripts %}
{% endblock head_script %}

{% block page_title %}{{ 'gateway.gateway.consume_assertion.title'|trans }}{% endblock %}

{% block body %}
    <noscript>
        <b>Note: </b> javascript is disabled, please click the button below to proceed
    </noscript>
    One moment please...
    <form method="post" action="{{ acu }}">
        <input type="hidden" name="_SAMLResponse" value="{{ samlResponse }}" />
        <input type="hidden" name="AuthMethod" value="{{ authMethod|escape }}" />
        <input type="hidden" name="Context" value="{{ context|escape }}" />
        <input type="submit" class="hidden" />
        <noscript>
            <input type="submit" value="Submit"/>
        </noscript>
    </form>
{% endblock %}


{% extends 'LigiBundle::layout.html.twig' %}

{% block body -%}

{% trans %}Item list{% endtrans %}

        {% trans %}Name{% endtrans %}

      {% for entity in entities %}

          {{ entity.name }}

      {% endfor %}

{% endblock %}

Use the card view for the item listing.

{% extends 'LigiBundle::layout.html.twig' %}

{% block title %}{% trans %}Item list{% endtrans %}{% endblock title %}

{% block body -%}

{% trans %}Item list{% endtrans %}

    {% for entity in entities %}

              {{ entity.name }}

            {{ entity.description }}

    {% endfor %}

{% endblock %}


{% extends '::base.html.twig' %}

{% block body %}
     Welcome!
{% endblock %}

{% block description %}
	This is the new Politikportal homepage.
{% endblock %}

{% block main %}

	{% for topic in topics %}

    	{% for item in topic.items %}

        	{% include "PolitikportalBundle:Default:item.html.twig" with { 'item' : item } only %}

    	{% else %}

No topics

    	{% endfor %}

		{{ topic.title }}

	{% endfor %}

{% endblock %}

{% block sidebar %}

	Version: {{ heading }}

{% endblock %}

Remove link button to topic on homepage

{% extends '::base.html.twig' %}

{% block body %}
     Welcome!
{% endblock %}

{% block description %}
	This is the new Politikportal homepage.
{% endblock %}

{% block main %}

	{% for topic in topics %}

    	{% for item in topic.items %}

        	{% include "PolitikportalBundle:Default:item.html.twig" with { 'item' : item } only %}

    	{% else %}

No topics

    	{% endfor %}

	{% endfor %}

{% endblock %}

{% block sidebar %}

	Version: {{ heading }}

{% endblock %}


{% extends 'FrontendBundle:Security:layout.html.twig' %}

{% block content %}

{{ 'frontend.reset_password'|trans }}

{{ 'frontend.request_reset_password_successfully'|trans }}

{% endblock %}

Update reset password request success template

{% extends 'FrontendBundle:Security:layout.html.twig' %}

{% block content %}

{{ 'frontend.reset_password'|trans }}

{{ 'frontend.request_reset_password_successfully'|trans }}

{{ 'frontend.send_reset_password'|trans }}

            {% for type in ['success', 'error'] %}
                {% for flash in app.session.flashbag.get(type) %}

                        ×
                        {{ flash }}

                {% endfor %}
            {% endfor %}

{% endblock %}


{% block tags_widget %}
    {% spaceless %}
        {{ form_widget(form) }}
        <script type="text/javascript">
            $("#{{ form.vars.id }}").tagEditor({
                {% if form.vars.coosos_tag_auto_complete %}
                autocomplete: {
                    delay: 0,
                    position: { collision: 'flip' },
                    source: function (request, response) {
                        $.ajax({
                            url: "{{ path("coosos_tag_tag_tagList") }}",
                            method: "GET",
                            data: {term: request.term, category: "{{ form.vars.coosos_tag_category }}"},
                            dataType: "json"
                        }).done(function (data) {
                            response(data);
                        });
                    }
                },
                minLength: 2,
                {% endif %}
                forceLowercase: false
            });
        </script>
    {% endspaceless %}
{% endblock %}


    Notes on Adding a Person to Your Crew

Adding a person to your crew allows you to sign them up for games.

The person must have already created an account on ZAYSO.

You must enter the person's full name exactly as it appears in ZAYSO. Ask your teammates their full name as it is in ZAYSO

Use Family for family members, Peer for others.

Please make sure the person knows you will be assigning their games.

Add Person now uses aysoid instead of name.

    Notes on Adding a Person to Your Crew

Adding a person to your crew allows you to sign them up for games.

The person must have already created an account on ZAYSO.

For a bit of security, you need to know the person's 8 digit AYSO ID.

Use Family for family members, Peer for others.

Please make sure the person knows you will be assigning their games.


{% macro list(taxonomies) %}

{% import 'SyliusWebBundle:Backend/Macros:buttons.html.twig' as buttons %}
{% import 'SyliusWebBundle:Backend/Macros:alerts.html.twig' as alerts %}

{% if taxonomies|length > 0 %}

            {{ sylius_resource_sort('name', 'sylius.taxonomy.name'|trans) }}

        {% for taxonomy in taxonomies %}

            {{ taxonomy.name }}

                {{ buttons.create(path('sylius_backend_taxon_create', {'taxonomyId': taxonomy.id}), 'sylius.taxon.create'|trans)|lower|raw }}
                {{ buttons.show(path('sylius_backend_taxonomy_show', {'id': taxonomy.id})) }}
                {{ buttons.edit(path('sylius_backend_taxonomy_update', {'id': taxonomy.id})) }}
                {{ buttons.delete(path('sylius_backend_taxonomy_delete', {'id': taxonomy.id})) }}

        {% endfor %}

{% else %}
{{ alerts.info('sylius.taxonomy.no_results'|trans) }}
{% endif %}

{% endmacro %}

Fix the create taxon link letter case

{% macro list(taxonomies) %}

{% import 'SyliusWebBundle:Backend/Macros:buttons.html.twig' as buttons %}
{% import 'SyliusWebBundle:Backend/Macros:alerts.html.twig' as alerts %}

{% if taxonomies|length > 0 %}

            {{ sylius_resource_sort('name', 'sylius.taxonomy.name'|trans) }}

        {% for taxonomy in taxonomies %}

            {{ taxonomy.name }}

                {{ buttons.create(path('sylius_backend_taxon_create', {'taxonomyId': taxonomy.id}), 'sylius.taxon.create'|trans)|raw }}
                {{ buttons.show(path('sylius_backend_taxonomy_show', {'id': taxonomy.id})) }}
                {{ buttons.edit(path('sylius_backend_taxonomy_update', {'id': taxonomy.id})) }}
                {{ buttons.delete(path('sylius_backend_taxonomy_delete', {'id': taxonomy.id})) }}

        {% endfor %}

{% else %}
{{ alerts.info('sylius.taxonomy.no_results'|trans) }}
{% endif %}

{% endmacro %}


{{ 'lbl.YouAreHere'|trans }}

  {% for breadcrumb in breadcrumb %}

      {% if breadcrumb.url %}

          {{ breadcrumb.title }}

      {% else %}
        {{ breadcrumb.title }}
      {% endif %}

  {% endfor %}

Add schema.org data to frontend breadcrumbs

{{ 'lbl.YouAreHere'|trans }}

  {% for breadcrumb in breadcrumb %}

      {% if breadcrumb.url %}
        {# set the full url or the item link will not validate #}

          {{ breadcrumb.title }}

      {% else %}
        {{ breadcrumb.title }}
      {% endif %}
      <meta itemprop="position" content="{{ loop.index }}" />

  {% endfor %}


{% extends 'KorobiWebBundle::layout.html.twig' %}

{% set page_title = network_name %}

{% block body %}

{{ network_name }}

    {% if all_channels_private %}

Sorry, but it appears as if all channels on this network are private.

    {% else %}

                Channel

        {% for name, url in channels %}

                {{ name }}

        {% endfor %}

    {% endif %}
{% endblock %}

Add jump-to column to table. Feedback welcome

{% extends 'KorobiWebBundle::layout.html.twig' %}

{% set page_title = network_name %}

{% block body %}

{{ network_name }}

    {% if all_channels_private %}

Sorry, but it appears as if all channels on this network are private.

    {% else %}

                Channel
                Jump To

        {% for name, url in channels %}

                {{ name }}
                Logs

        {% endfor %}

    {% endif %}
{% endblock %}


{% extends "::base.html.twig" %}

{% block page_title %}{{ 'ss.registration.selector.title.welcome'|trans({'%name%': 'Fabien'}) }}{% endblock %}

{% block page_header %}
    {{ parent() }}

    {% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/progressBar.html.twig' with {'progress': 0} only %}
{% endblock %}

{% block content %}

{{ block('page_title') }}

{{ 'ss.registration.selector.text.explain_wizard'|trans }}

{{ 'ss.registration.selector.text.please_select_second_factor'|trans }}

        {% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
            'type': 'yubikey',
            'security': 3,
            'url': path('surfnet_stepup_self_service_self_service_registration_yubikey_prove_possession')
        } only %}
        {% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
            'type': 'sms',
            'security': 2,
            'url': path('surfnet_stepup_self_service_self_service_registration_sms_send_challenge')
        } only %}
        {% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
            'type': 'tiqr',
            'security': 2,
            'url': '#'
        } only %}

{% endblock %}

Remove Tiqr second factor for now.

{% extends "::base.html.twig" %}

{% block page_title %}{{ 'ss.registration.selector.title.welcome'|trans({'%name%': 'Fabien'}) }}{% endblock %}

{% block page_header %}
    {{ parent() }}

    {% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/progressBar.html.twig' with {'progress': 0} only %}
{% endblock %}

{% block content %}

{{ block('page_title') }}

{{ 'ss.registration.selector.text.explain_wizard'|trans }}

{{ 'ss.registration.selector.text.please_select_second_factor'|trans }}

        {% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
            'type': 'yubikey',
            'security': 3,
            'url': path('surfnet_stepup_self_service_self_service_registration_yubikey_prove_possession')
        } only %}
        {% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
            'type': 'sms',
            'security': 2,
            'url': path('surfnet_stepup_self_service_self_service_registration_sms_send_challenge')
        } only %}

{% endblock %}


{% extends 'bootstrap_3_horizontal_layout.html.twig' %}

{% block form_help -%}
    {% for attrname, attrvalue in attr %}
        {% if attrname == 'help' %}
            {{ attrvalue }}
        {% endif %}
    {% endfor %}
{%- endblock form_help %}

{% block form_errors -%}
    {{ parent() }}
    {{- block('form_help') -}}
{%- endblock form_errors %}

{%- block widget_attributes -%}
    {% set tmp = false %}
    {% if attr.help is defined %}
        {% set tmp = attr.help %}
        {% set attr = attr|merge({help: false}) %}
    {% endif %}
    {{ parent() }}
    {% if tmp != false %}
        {% set attr = attr|merge({help: tmp}) %}
    {% endif %}
{%- endblock widget_attributes -%}

{%- block cmfcmfmediamodule_font_choice_widget -%}
    {{ pageAddAsset('stylesheet', fontUrl) }}
    {{ block('choice_widget') }}

{%- endblock -%}

Make it work for all the fonts.


{% extends "::base.html.twig" %}
{% block container_class %}{{ parent() }} authentication{% endblock container_class %}

{% block body_tag %}

{% endblock body_tag %}

{% block content_row %}

        {% block content %}
        {% endblock content %}

{% endblock content_row %}

{% block footer %}

    {{ form_start(cancelForm) }}
    {{ form_widget(cancelForm.cancel, {}) }}
    {{ form_end(cancelForm) }}
    Help

{% endblock footer %}

Remove left over UL element


{% extends '::layout.html.twig' %}

{% block body %}

My home page

{{ videoNumber }}

{% endblock body %}

Add form and Indetation (sic !)

{% extends '::layout.html.twig' %}

{% block body %}

My home page

    {{ videoNumber }}
    {{ form(form) }}

{% endblock body %}


{% form_theme form 'SyliusUiBundle:Form:theme.html.twig' %}

{{ form_row(form) }}

Add label to boolean filter template

{% form_theme form 'SyliusUiBundle:Form:theme.html.twig' %}

{{ form_row(form, {'label': filter.label|trans}) }}


{% extends 'MunicipalesBundle:theme:layout.html.twig' %}

{% block title %}{{ 'candidacy.step4.html_title'|trans }}{% endblock %}
{% block content %}

{{ 'candidacy.step4.h1_title'|trans }}

		Input Http://municipales2015.listabierta.org/_________

		Continuar

{% endblock %}

Update widgets template for step 4

{% extends 'MunicipalesBundle:theme:layout.html.twig' %}

{% block title %}{{ 'candidacy.step4.html_title'|trans }}{% endblock %}
{% block content %}

{{ 'candidacy.step4.h1_title'|trans }}

    {{ form_start(form, { 'attr': {'class': 'form_settings'}}) }}

{{ form_errors(form) }}

	{% if errors is defined and not errors is empty %}

{{ errors }}

	{% endif %}

				http://municipales2015.listabierta.org/{{ form_widget(form.name) }}
				{{ form_errors(form.name) }}

		{{ form_widget(form.continue, { 'label': 'candidacy.step4.continue'|trans }) }}

	{{ form_rest(form) }}

	{{ form_end(form) }}

{% endblock %}


{% extends "CollegeCraziesMainBundle::layout.html.twig" %}

{% block content %}

League Members

                PickSet Name
                Username
                Email

        {% for member in members %}
            {% set pickSet = league.getPickSetForUser(member) %}

                {% if pickSet is not null %}
                    {{ pickSet.name }}
                {% else %}
                    --
                {% endif %}
                {{ member.username }}
                {% if member.emailVisible %}{{ member.email }}{% else %}--{% endif %}

        {% endfor %}

{% endblock %}

Add first and last names to member list

{% extends "CollegeCraziesMainBundle::layout.html.twig" %}

{% block content %}

League Members

                PickSet Name
                Username
                First Name
                Last Name
                Email

        {% for member in members %}
            {% set pickSet = league.getPickSetForUser(member) %}

                {% if pickSet is not null %}
                    {{ pickSet.name }}
                {% else %}
                    --
                {% endif %}
                {{ member.username }}
                {{ member.firstName ?: '--' }}
                {{ member.lastName ?: '--' }}
                {% if member.emailVisible %}{{ member.email }}{% else %}--{% endif %}

        {% endfor %}

{% endblock %}


{% extends 'SimplyTestableWebsiteBundle:PlanDetails:base.html.twig' %}

{% block heading %}Features of the limited demo{% endblock %}

{% block content %}

        A free demo is available to everyone - just visit the
        test dashboard
        without signing in.

        The demo offers many of the features you would find if you had an account
        but is limited in the breadth of use.

    {% include 'SimplyTestableWebsiteBundle:PlanDetails:index.demo.detail.html.twig' %}

{% endblock %}

Remove link to free plan on plans comparison pages

{% extends 'SimplyTestableWebsiteBundle:PlanDetails:base.html.twig' %}

{% block heading %}Features of the limited demo{% endblock %}

{% block content %}

        A free demo is available to everyone - just visit the
        test dashboard
        without signing in.

        The demo offers many of the features you would find if you had an account
        but is limited in the breadth of use.

    {% include 'SimplyTestableWebsiteBundle:PlanDetails:index.demo.detail.html.twig' %}

{% endblock %}

{% block ctas %}

        {% include 'SimplyTestableWebsiteBundle:Partials/cta-buttons:generic-anchor.html.twig'
        with {
        'url': path('page_plans'),
        'label': 'See plans and pricing',
        'byline':'30-day free trial. From £9 per month.',
        'icon':'caret-right',
        'primary':true
        } %}

        Try a demo now
        Benefits of creating an account
        Premium plan options

{% endblock %}


			Title
			Content

	{% for article in articles %}

				{{ article.id }}
				{{ article.title }}
				{{ article.body |striptags | slice(0, 400) |raw  }} (...)

    {% endfor %}

			Title
			Content

Delete raw in twig template

			Title
			Content

	{% for article in articles %}

				{{ article.id }}
				{{ article.title }}
				{{ article.body |striptags | slice(0, 400)  }} (...)

    {% endfor %}

			Title
			Content


location / {
    try_files $uri  = 404;
}

location ~ \.php$ {
    fastcgi_pass unix:/tmp/.{{ projectname }}-fpm.sock;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param HTTPS off;
}

Fix php5.5 opcode cache invalidation bug

location / {
    try_files $uri  = 404;
}

location ~ \.php$ {
    fastcgi_pass unix:/tmp/.{{ projectname }}-fpm.sock;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
    fastcgi_param DOCUMENT_ROOT $realpath_root;
    fastcgi_param HTTPS off;
}


Nerdy bits-and-pieces used: {{ nerd_list }}

Last updated <span data-timestamp="<?= $repositories['{{ project }}']['last_commit_timestamp'] ?>">on <?= $repositories['{{ project }}']['last_commit_pretty'] ?>

Copy git clone URL

View project on GitHub

Add links to last commits on open-source page.

Nerdy bits-and-pieces used: {{ nerd_list }}

Last updated <a data-timestamp="<?= $repositories['{{ project }}']['last_commit_timestamp'] ?>" href="https://github.com/damiendart/{{ project }}/commit/<?= $repositories['{{ project }}']['last_commit_hash'] ?>">on <?= $repositories['{{ project }}']['last_commit_pretty'] ?>

Copy git clone URL

View project on GitHub


{% if resource.media is not empty %}
    {% set name = resource.media.name %}
    {% if name is empty %}
        {% set name = "Download" %}
    {% endif %}

{{ name }} | {{ resource.media.contentTypeShort }} {{ resource.media.getFileSize() }}

{% endif %}

Use URL method for media in downloadpagepart view


{% extends 'MunicipalesBundle:theme:layout.html.twig' %}

{% block title %}{{ 'candidacy.step8.html_title'|trans }}{% endblock %}

{% form_theme form 'MunicipalesBundle:theme:forms.html.twig' %}
{% from 'MunicipalesBundle:macros:steps.html.twig' import steps_widget %}

{% block content %}

{{ 'candidacy.step8.h1_title'|trans }}

    	{{ 'candidacy.step8.explanation'|trans }}

{% endblock %}

Remove form theming not needed in step 8 candidacy

{% extends 'MunicipalesBundle:theme:layout.html.twig' %}

{% block title %}{{ 'candidacy.step8.html_title'|trans }}{% endblock %}

{% from 'MunicipalesBundle:macros:steps.html.twig' import steps_widget %}

{% block content %}

{{ 'candidacy.step8.h1_title'|trans }}

    	{{ 'candidacy.step8.explanation'|trans }}

{% endblock %}


Back to categorys

{% for item in bookmarks %}

{{ item.title }}

{% endfor %}

Add category name in category view

Category: {{bookmarks[0].category.name}}

Back to categorys

{% for item in bookmarks %}

{{ item.title }}

{% endfor %}


{% import 'OroDataGridBundle::macros.html.twig' as dataGrid %}

<div class="widget-content">
    {% set scope = 'system-calendar-' ~ entity.id %}
    {{ dataGrid.renderGrid(
        oro_datagrid_build_fullname(
            entity.public ? 'public-system-calendar-event-grid' : 'base-system-calendar-event-grid',
            scope
        ),
        {calendarId: entity.id}
    ) }}
</div>

Create view page for system calendars. Changed organization grid type

{% import 'OroDataGridBundle::macros.html.twig' as dataGrid %}

<div class="widget-content">
    {% set scope = 'system-calendar-' ~ entity.id %}
    {{ dataGrid.renderGrid(
        oro_datagrid_build_fullname(
            entity.public ? 'public-system-calendar-event-grid' : 'system-calendar-event-grid',
            scope
        ),
        {calendarId: entity.id}
    ) }}
</div>


        {{ state_label }}

    {% if test.state == 'crawling' %}
    <form id="cancel-crawl-form" method="post" action="{{ path('test_cancel_crawl', {'test_id':test.testId, 'website':test.website}) }}">
        <button type="submit" class="btn btn-warning">Stop finding URLs, start testing</button>
    </form>
    {% endif %}

Check test is defined before checking state

        {{ state_label }}

    {% if test is defined and test.state == 'crawling' %}
    <form id="cancel-crawl-form" method="post" action="{{ path('test_cancel_crawl', {'test_id':test.testId, 'website':test.website}) }}">
        <button type="submit" class="btn btn-warning">Stop finding URLs, start testing</button>
    </form>
    {% endif %}


Add fields template for forms in the bundle

{% block search_identity_widget %}
{% spaceless %}
	{{ block('choice_widget') }}

{% endspaceless %}
{% endblock %}


<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <title>{% block title %}Welcome!{% endblock %}</title>
        {% block stylesheets %}{% endblock %}
        <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
    </head>
    <body>
        {% block body %}{% endblock %}
        {% block javascripts %}{% endblock %}
    </body>
</html>

Fix viewport on mobile devices.

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>{% block title %}Welcome!{% endblock %}</title>
        {% block stylesheets %}{% endblock %}
        <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
    </head>
    <body>
        {% block body %}{% endblock %}
        {% block javascripts %}{% endblock %}
    </body>
</html>


{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}
{# @var field \EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto #}
{# @var entity \EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto #}
{% set lightbox_content_id = 'ea-lightbox-' ~ field.uniqueId %}

Fix ImageField template for multiple images

{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}
{# @var field \EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto #}
{# @var entity \EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto #}
{% set images = field.formattedValue %}
{% if images is not iterable %}
    {% set images = [images] %}
{% endif %}

{% for image in images %}
    {% set html_id = 'ea-lightbox-' ~ field.uniqueId ~ '-' ~ loop.index %}

{% endfor %}


<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
    <file source-language="en" datatype="plaintext" original="messages" date="{{ 'now'|date('Y-m-d\TH:i:s\Z', 'UTC') }}">
        <header>
            <authorName>{{ package.author.name }}</authorName>
            <authorEmail>{{ package.author.email }}</authorEmail>
        </header>
        <body>
            <trans-unit id="backend_layout.example">
                <source>Example</source>
            </trans-unit>
            <trans-unit id="backend_layout.column.normal">
                <source>Normal</source>
            </trans-unit>
        </body>
    </file>
</xliff>

Remove obsolete language labels from locallang_db

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
    <file source-language="en" datatype="plaintext" original="messages" date="{{ 'now'|date('Y-m-d\TH:i:s\Z', 'UTC') }}">
        <header>
            <authorName>{{ package.author.name }}</authorName>
            <authorEmail>{{ package.author.email }}</authorEmail>
        </header>
        <body>
        </body>
    </file>
</xliff>


        {{ block.publishedTitle }}

        TODO

Add content to default content block

        {{ block.publishedTitle }}

            {% for document in pagination %}

                        {{ document.title|default }}

            {% endfor %}


{% extends getPartial('page-design') %}

{% block PageBody %}
    {{ component( "PluginCeres::Customer.Components.LoginView") }}
    {{ component( "PluginCeres::Customer.Components.Login") }}
    {{ component( "PluginCeres::Customer.Components.GuestLogin") }}

    <login-view template="vue-login-view"></login-view>
{% endblock %}

FIX login-view - template param

{% extends getPartial('page-design') %}

{% block PageBody %}
    {{ component( "PluginCeres::Customer.Components.LoginView") }}
    {{ component( "PluginCeres::Customer.Components.Login") }}
    {{ component( "PluginCeres::Customer.Components.GuestLogin") }}

    <login-view template="#vue-login-view"></login-view>
{% endblock %}


{% extends "ChillMainBundle::layout.html.twig" %}

{% block title%}{{ header_title|trans }}{% endblock %}

{% block content %}

<h1>{{ page_title|trans }}</h1>

{{ chill_menu('admin', {
    'layout': 'ChillMainBundle::Menu/admin.html.twig',
}) }}

{% endblock %}

Debug admin menu - 2


---
title: Home
section: home
permalink: /index.html
---

{% extends "_layouts/layout.twig" %}

{% block head %}
  <link rel="stylesheet" href="/css/home.css" />
{% endblock %}

{% block content %}

BZFlag is a 3D networked multi-player multi-platform tank battle game. It runs on Windows, Mac OSX, Linux, BSD, and other platforms. It was one of the most popular games ever on Silicon Graphics machines and continues to be developed and improved to this day.

      <video width="720" height="400" id="teaser" loop="loop" preload="none" poster="/images/videothumb/bzteaser.jpg" controls="controls">
        <source src="/vid/bzteaser.mp4" type="video/mp4" />
      </video>

{% endblock %}

{% block scripts %}

{% endblock %}

Add a WebM video source.

---
title: Home
section: home
permalink: /index.html
---

{% extends "_layouts/layout.twig" %}

{% block head %}
  <link rel="stylesheet" href="/css/home.css" />
{% endblock %}

{% block content %}

BZFlag is a 3D networked multi-player multi-platform tank battle game. It runs on Windows, Mac OSX, Linux, BSD, and other platforms. It was one of the most popular games ever on Silicon Graphics machines and continues to be developed and improved to this day.

      <video width="720" height="400" id="teaser" loop="loop" preload="none" poster="/images/videothumb/bzteaser.jpg" controls="controls">
        <source src="/vid/bzteaser.mp4" type="video/mp4" />
        <source src="/vid/bzteaser.webm" type="video/webm" />
      </video>

{% endblock %}

{% block scripts %}

{% endblock %}


{% extends template %}

{% block stylesheets %}
	{{parent()}}
	{% if (can_edit) %}
	<meta name="mercury-images" content="{{path('koala_content_mercury_images')}}"/>
	<meta name="mercury-content" content="{{path('koala_content_mercury_content', {'url': page.url})}}">
	{% endif %}
{% endblock %}

{% block javascripts %}
	{{parent()}}
	{% if (can_edit) %}
	<script src="{{asset('bundles/koalacontent/mercury.js')}}" type="text/javascript" charset="utf-8"></script>
	<script src="{{asset('mercury/javascripts/mercury_loader.js')}}?visible=false&pack=bundled&src={{asset('mercury')}}" type="text/javascript" charset="utf-8"></script>
	{% endif %}
{% endblock %}

Load the Mercury loader in the head section to prevent flickering

{% extends template %}

{% block stylesheets %}
	{{parent()}}
	{% if (can_edit) %}
	<meta name="mercury-images" content="{{path('koala_content_mercury_images')}}"/>
	<meta name="mercury-content" content="{{path('koala_content_mercury_content', {'url': page.url})}}">
	<script src="{{asset('mercury/javascripts/mercury_loader.js')}}?visible=false&pack=bundled&src={{asset('mercury')}}" type="text/javascript" charset="utf-8"></script>
	{% endif %}
{% endblock %}

{% block javascripts %}
	{{parent()}}
	{% if (can_edit) %}
	<script src="{{asset('bundles/koalacontent/mercury.js')}}" type="text/javascript" charset="utf-8"></script>
	{% endif %}
{% endblock %}


<?php

namespace {{ package }};

{% for import in imports %}
use {{ import }};
{% endfor %}

/**
 * Class {{ class_name }}
 * @package {{ package }}
 */
class {{ class_name }}
{
{% for argument in arguments %}
    /**
     * @var {{ argument.type }}
     */
    private ${{ argument.variable }};

{% endfor %}
    /**
     * {{ class_name }} constructor.
     *
{% for argument in arguments %}
     * @param {{ argument.type }} ${{ argument.variable }}
{% endfor %}
     */
    public function __construct(
{% for argument in arguments %}
        {{ argument.hint }} ${{ argument.variable }}{{ not loop.last ? ', ' }}
{% endfor %}
    ) {
{% for argument in arguments %}
        $this->{{ argument.variable }} = ${{ argument.variable }};
{% endfor %}
    }
}

Fix for service parameter indentation

<?php

namespace {{ package }};

{% for import in imports %}
use {{ import }};
{% endfor %}

/**
 * Class {{ class_name }}
 * @package {{ package }}
 */
class {{ class_name }}
{
{% for argument in arguments %}
    /**
     * @var {{ argument.type }}
     */
    private ${{ argument.variable }};

{% endfor %}
    /**
     * {{ class_name }} constructor.
     *
{% for argument in arguments %}
     * @param {{ argument.type }} ${{ argument.variable }}
{% endfor %}
     */
    public function __construct(
{% for argument in arguments %}
        {{ argument.hint }}{{ argument.hint ? ' ' }}${{ argument.variable }}{{ not loop.last ? ', ' }}
{% endfor %}
    ) {
{% for argument in arguments %}
        $this->{{ argument.variable }} = ${{ argument.variable }};
{% endfor %}
    }
}


{% extends 'MunicipalesBundle:theme:layout.html.twig' %}

{% block title %}{{ 'candidacy.step6.html_title'|trans }}{% endblock %}
{% block content %}

{{ 'candidacy.step6.h1_title'|trans }}

		Tabla validacion

		 Alicia
Se incluyen solo los campos de texto libre

OK (desplegable)
Juan

Motivo de invalidación (Se le envía un correo automáticamente explicando este motivo al candidato o candidata)

NO OK
Marcos

Pendiente

{% endblock %}

Add template for step 6 candidacy

{% extends 'MunicipalesBundle:theme:layout.html.twig' %}

{% block title %}{{ 'candidacy.step6.html_title'|trans }}{% endblock %}
{% block content %}

{{ 'candidacy.step6.h1_title'|trans }}

    {% if candidates|length > 0 %}

		Tabla validacion

		Alicia
		Se incluyen solo los campos de texto libre

		OK (desplegable)
		Juan

		Motivo de invalidación (Se le envía un correo automáticamente explicando este motivo al candidato o candidata)

		NO OK
		Marcos

		Pendiente
	{% else %}
		{{ 'candidacy.step6.no_candidates'|trans }}
	{% endif %}

	{{ form_start(form_step7, { 'attr': {'class': 'form_settings'}}) }}

		{{ form_widget(form_step7.start_candidacy, { 'label': 'candidacy.step6.continue'|trans }) }}

	{{ form_rest(form_step7) }}

	{{ form_end(form_step7) }}

{% endblock %}