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

{% set option = {
    class:        field.class|default(''),
    label:        field.label|default(''),
    placeholder:  field.placeholder|default(''),
    required:     field.required|default(false),
    readonly:     field.readonly|default(false),
    title:        field.title|default(''),
    info:         field.info|default(''),
    errortext:    field.error|default(''),
    min:          field.min|default(''),
    max:          field.max|default(''),
    step:         field.step|default('0.00000001'),
} %}

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

{% set attr_number = {
    class:          option.class ~ ' narrow',
    name_id:        key,
    placeholder:    option.placeholder,
    required:       option.required,
    readonly:       option.readonly,
    step:           option.step,
    min:            option.min,
    max:            option.max,
    title:          option.title,
    type:           'number',
    value:          0 + context.content.get(key),
    data_errortext: option.errortext,
} %}

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

<fieldset class="float">

    {{ (option.info) ? macro.infopop(labelkey, option.info) : labelkey }}

        <input{{ macro.attr(attr_number) }}>

</fieldset>

Convert float inpout from number to text

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

{% set option = {
    class:        field.class|default(''),
    label:        field.label|default(''),
    placeholder:  field.placeholder|default(''),
    required:     field.required|default(false),
    readonly:     field.readonly|default(false),
    title:        field.title|default(''),
    info:         field.info|default(''),
    errortext:    field.error|default(''),
    min:          field.min|default(''),
    max:          field.max|default(''),
    step:         field.step|default('0.00000001'),
} %}

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

{% set attr_number = {
    class:          option.class ~ ' narrow',
    name_id:        key,
    placeholder:    option.placeholder,
    required:       option.required,
    readonly:       option.readonly,
    step:           option.step,
    min:            option.min,
    max:            option.max,
    title:          option.title,
    type:           'text',
    value:          0 + context.content.get(key),
    data_errortext: option.errortext,
} %}

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

<fieldset class="float">

    {{ (option.info) ? macro.infopop(labelkey, option.info) : labelkey }}

        <input{{ macro.attr(attr_number) }}>

</fieldset>


{% extends 'OroActivityBundle:js:activityItemTemplate.js.twig' %}
{% set entityClass = 'Oro\\Bundle\\NoteBundle\\Entity\\Note' %}
{% set entityName = oro_entity_config_value(entityClass, 'label')|trans %}

{% block activityDetails %}
    {{ entityName|raw }}
{% endblock %}

Apply changes to all activity item templates according draft


        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>

Add Project

    <form method="post" action="/project/create">

            Repository URL
            <input id="repo_url" name="repo" required type="text" placeholder="git@github.com:romhut/criterion" class="span7">

            Github Token
            <input name="github_token" class="span7" type="text">

            <button type="submit" class="btn btn-success">Create</button>

    </form>

Fix spans in add project modal

        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>

Add Project

    <form method="post" action="/project/create">

                Repository URL
                <input id="repo_url" name="repo" required type="text" placeholder="git@github.com:romhut/criterion" class="span12">
                Github Token
                <input id="github_token" name="github_token" class="span12" type="text">

            <button type="submit" class="btn btn-success">Create</button>

    </form>


{% extends '@pulsar/pulsar/components/tab.html.twig' %}

{% block tab_content %}

                Name
                IP
                Status
                Uptime
                Image
                RAM
                CPUs
                Actions

{% endblock tab_content %}
{% block tab_sidebar %}

Empty DataTable

The 'no results' message is automatically shown, and can be customised with the `data-empty-table` attribute.

        <table class="table datatable table--full" data-empty-table="Your message here"> … </table>

{% endblock tab_sidebar %}


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

{% block body %}

Reset Password

                Enter your membership number and the email address that you registered with below in order to reset your password.  You will be sent an email with instructions.

                If you can't remember either of these, email db@eaglecanoeclub.org.uk

            {{ form_start(form) }}
                {{ form_widget(form) }}
                <input type="submit" value="Reset Password" class="btn btn-primary" />
            {{ form_end(form) }}

{% endblock %}

Sort out formatting on reset password page


{% 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 %}

Update 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) }}

http://municipales2015.listabierta.org/
{{ form_widget(form.address, { 'value' : default_address_slug }) }}

		{{ form_errors(form.address) }}

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

	{{ form_rest(form) }}

	{{ form_end(form) }}

{% endblock %}


{% for flashMessage in app.session.flashbag.get('success') %}
    <div class="alert alert-success" role="alert">
        {{ flashMessage }}
    </div>
{% endfor %}

Add support for error and info messages.

{% for flashMessage in app.session.flashbag.get('error') %}

        {{ flashMessage }}

{% endfor %}

{% for flashMessage in app.session.flashbag.get('info') %}

        {{ flashMessage }}

{% endfor %}

{% for flashMessage in app.session.flashbag.get('success') %}

        {{ flashMessage }}

{% endfor %}


{% extends 'SonataAdminBundle:CRUD:edit.html.twig' %}

{% block sonata_tab_content %}

            {{ parent() }}

            {% if object.providerReference is not empty %}

Preview

                        Embed

                        {{ object|media(360, 230) }}

                        Image

                        {{ object|media_image(360, 230, [], 'admin_mediamonks_sonatamedia_media_image_redirect', true) }}

            {% endif %}

{% endblock %}

Fix layout in edit form


{% extends 'IBazaarFrontendBundle::base.html.twig' %}
{% block content %}

Apps de la categoría "{{category.name}}"

{{category.description}}

			{{ include('IBazaarFrontendBundle:App:paginatedList.html.twig', {'apps' : apps}) }}

{% endblock %}

Fix in the styles of app listing by category.


{% if game %}

Game of the day

{% endif %}

Add game of day template


Latest games

            Player 1
            Player 2
            Score

        {% for game in latestGames %}

                {{ game.player1.username }}
                {{ game.player2.username }}
                {{ game.scorePlayer1 }} - {{ game.scorePlayer2 }}

        {% else %}

                There is no recent games

        {% endfor %}

Add link to user profile

Latest games

            Player 1
            Score
            Player 2

        {% for game in latestGames %}

                {{ game.player1.username }}
                {{ game.scorePlayer1 }} - {{ game.scorePlayer2 }}
                {{ game.player2.username }}

        {% else %}

                There is no recent games

        {% endfor %}


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

{%- if url %}{{ label }}{% else %}{{ label }}{% endif -%}
{% if children %}

	{%- for child in children -%}
		{{- toHtml(child) -}}
	{%- endfor -%}

{%- endif -%}

{% endif %}

Fix menu relative path bug


Tu telefono {{ phone }} ha sido verificado correctamente.

Update mail sms inbound verification template

{{ 'mail.sms_inbound_verification.your_phone'|trans }} <b>{{ phone }}</b> {{ 'mail.sms_inbound_verification.verify'|trans }}.


{{ kula_field({ field: 'Constituent.Constituent.LastName', db_row_id: kula_core_record.getSelectedRecord.ROLE_ID, value: kula_core_record.getSelectedRecord.LAST_NAME, label: true, attributes_html: { 'size' : 30 } }) }}
{{ kula_field({ field: 'Constituent.Constituent.FirstName', db_row_id: kula_core_record.getSelectedRecord.ROLE_ID, value: kula_core_record.getSelectedRecord.FIRST_NAME, label: true, attributes_html: { 'size' : 30 } }) }}
{{ kula_field({ field: 'Constituent.Constituent.MiddleName', db_row_id: kula_core_record.getSelectedRecord.ROLE_ID, value: kula_core_record.getSelectedRecord.MIDDLE_NAME, label: true, attributes_html: { 'size' : 30 } }) }}
{{ kula_field({ field: 'Core.Usergroup.Name', db_row_id: kula_core_record.getSelectedRecord.ROLE_ID, value: kula_core_record.getSelectedRecord.USERGROUP_NAME, label: true, attributes_html: { 'size' : 30 } }) }}
{{ kula_field({ field: 'Core.Usergroup.Portal', db_row_id: kula_core_record.getSelectedRecord.USER_ID, value: kula_core_record.getSelectedRecord.PORTAL, label: true }) }}

Fix role editing for security.

{{ kula_field({ field: 'Core.Constituent.LastName', db_row_id: kula_core_record.getSelectedRecord.CONSTITUENT_ID, value: kula_core_record.getSelectedRecord.LAST_NAME, label: true }) }}
{{ kula_field({ field: 'Core.Constituent.FirstName', db_row_id: kula_core_record.getSelectedRecord.CONSTITUENT_ID, value: kula_core_record.getSelectedRecord.FIRST_NAME, label: true  }) }}
{{ kula_field({ field: 'Core.Constituent.MiddleName', db_row_id: kula_core_record.getSelectedRecord.CONSTITUENT_ID, value: kula_core_record.getSelectedRecord.MIDDLE_NAME, label: true  }) }}
{{ kula_field({ field: 'Core.Usergroup.Name', db_row_id: kula_core_record.getSelectedRecord.ROLE_ID, value: kula_core_record.getSelectedRecord.USERGROUP_NAME, label: true, attributes_html: { 'size' : 30 } }) }}
{{ kula_field({ field: 'Core.Usergroup.Portal', db_row_id: kula_core_record.getSelectedRecord.USER_ID, value: kula_core_record.getSelectedRecord.PORTAL, label: true }) }}


<input type="text" placeholder="Search..." value="{{ query }}" data-search-input="{{ base_url_relative }}{{ config.plugins.simplesearch.route}}/query" />
<script>
jQuery(document).ready(function($){
    var input = $('[data-search-input]');

    input.on('keypress', function(event) {
        if (event.which == 13 && input.val().length > 3) {
            event.preventDefault();
            window.location.href = input.data('search-input') + '{{ config.system.param_sep }}' + input.val();
        }
    });
});
</script>

Fix required for multilang support

<input type="text" placeholder="Search..." value="{{ query }}" data-search-input="{{ base_url }}{{ config.plugins.simplesearch.route}}/query" />
<script>
jQuery(document).ready(function($){
    var input = $('[data-search-input]');

    input.on('keypress', function(event) {
        if (event.which == 13 && input.val().length > 3) {
            event.preventDefault();
            window.location.href = input.data('search-input') + '{{ config.system.param_sep }}' + input.val();
        }
    });
});
</script>


{% extends 'AppBundle:Components/Page:page-service.html.twig' %}
{% set translationDomain = "user-activate" %}
{% trans_default_domain translationDomain %}

{% block pageTitle %}{{ 'pageTitle' | trans }}{% endblock %}
{% block title %}{% trans %}pageTitle{% endtrans %}{% endblock %}

{% block pageNavigation %}
    {% if isAdmin %}
        {{ progress_bar('registration_admin', 1) }}
    {% else %}
        {{ progress_bar('registration', 1) }}
    {% endif %}
{% endblock %}

{% block validationSummary %}
    {{ form_errors_list(form) }}
{% endblock %}

{% block pageBody %}

    {% include 'AppBundle:Components/Page:_page-section-description.html.twig' with {
    transDomain: translationDomain,
    pageSectionDescription: 'page.pageSectionDescription'
    } %}

    {{ form_start(form, {attr: {novalidate: 'novalidate' }}) }}

    {{ form_input(form.email,'email', { 'labelClass': 'required' }) }}

    {{ form_input(form.password.first,'password', { 'labelClass': 'required' } ) }}

    {{ form_input(form.password.second,'password_confirm', { 'labelClass': 'required' } ) }}

    {% include 'AppBundle:Components/ButtonBar:_start.html.twig' %}
    {{ form_submit(form.save,'submit', {'buttonClass': 'behat-link-save'}) }}
    {% include 'AppBundle:Components/ButtonBar:_end.html.twig' %}

    {{ form_end(form) }}

{% endblock %}

Fix issue with unnecessary title in first registration page.

{% extends 'AppBundle:Components/Page:page-service.html.twig' %}
{% set translationDomain = "user-activate" %}
{% trans_default_domain translationDomain %}

{% block pageTitle %}{{ 'pageTitle' | trans }}{% endblock %}
{% block title %}{% trans %}pageTitle{% endtrans %}{% endblock %}

{% block pageNavigation %}
    {% if isAdmin %}
        {{ progress_bar('registration_admin', 1) }}
    {% else %}
        {{ progress_bar('registration', 1) }}
    {% endif %}
{% endblock %}

{% block validationSummary %}
    {{ form_errors_list(form) }}
{% endblock %}

{% block pageBody %}

    {{ form_start(form, {attr: {novalidate: 'novalidate' }}) }}

    {{ form_input(form.email,'email', { 'labelClass': 'required' }) }}

    {{ form_input(form.password.first,'password', { 'labelClass': 'required' } ) }}

    {{ form_input(form.password.second,'password_confirm', { 'labelClass': 'required' } ) }}

    {% include 'AppBundle:Components/ButtonBar:_start.html.twig' %}
    {{ form_submit(form.save,'submit', {'buttonClass': 'behat-link-save'}) }}
    {% include 'AppBundle:Components/ButtonBar:_end.html.twig' %}

    {{ form_end(form) }}

{% endblock %}


{#
Copyright 2012 Rithis Studio LLC
Author Vyacheslav Slinko <vyacheslav.slinko@rithis.com>
#}
<!DOCTYPE html>

    <title>{% block title %}{% trans from "rithis_bootstrap" %}title{% endtrans %}{% endblock %}</title>
    <link rel="stylesheet" href="/bundles/rithisbootstrap/css/bootstrap.min.css">

{% trans from "rithis_bootstrap" %}header{% endtrans %}

    {% block content "" %}

© 2012 {% trans from "rithis_bootstrap" %}copyright{% endtrans %}

Make base template more extendable

{#
Copyright 2012 Rithis Studio LLC
Author Vyacheslav Slinko <vyacheslav.slinko@rithis.com>
#}
<!DOCTYPE html>

    <title>{% block title %}{% trans from "rithis_bootstrap" %}title{% endtrans %}{% endblock %}</title>
    <link rel="stylesheet" href="/bundles/rithisbootstrap/css/bootstrap.min.css">
    {% block head %}{% endblock %}

    {% block body %}

{% block header %}{% trans from "rithis_bootstrap" %}header{% endtrans %}{% endblock %}

        {% block content "" %}

{% block footer %}© 2012 {% trans from "rithis_bootstrap" %}copyright{% endtrans %}{% endblock %}

    {% endblock %}


---
collection: documentation
section: documentation
permalink: /documentation/%docpath
---

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

{% block content %}
  {% if this.parent %}
{{ this.parent.title }}
{% endif %}

{{ this.content }}

{% endblock %}

Fix up the documentation template.

---
collection: documentation
section: documentation
permalink: /documentation/%docpath
parent:
---

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

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

{% block content %}
  {% if this.parent %}
{{ this.parent.title }}
{% endif %}

  {{ this.content }}
{% endblock %}


{% from '@SyliusAdmin/Macro/translationForm.html.twig' import translationFormWithSlug %}

    {{ form_errors(form) }}

        {{ form_row(form.code) }}
        {% if taxon.id != null %}
            {{ form_row(form.parent) }}
        {% else %}
            {{ form_widget(form.parent, {'attr': {'style': 'display: none;'}}) }}
        {% endif %}

{{ translationFormWithSlug(form.translations, '@SyliusAdmin/Taxon/_slugField.html.twig', taxon) }}

{% include '@SyliusAdmin/Taxon/_media.html.twig' %}

Add toggleable to taxon and first behat scenario

{% from '@SyliusAdmin/Macro/translationForm.html.twig' import translationFormWithSlug %}

    {{ form_errors(form) }}

        {{ form_row(form.code) }}
        {% if taxon.id != null %}
            {{ form_row(form.parent) }}
        {% else %}
            {{ form_widget(form.parent, {'attr': {'style': 'display: none;'}}) }}
        {% endif %}

        {{ form_row(form.enabled) }}

{{ translationFormWithSlug(form.translations, '@SyliusAdmin/Taxon/_slugField.html.twig', taxon) }}

{% include '@SyliusAdmin/Taxon/_media.html.twig' %}


    {{ 'sylius.ui.create'|trans }}

            {{ 'sylius.ui.type'|trans }}

        {{ 'sylius.form.zone.types.country'|trans }}
        {{ 'sylius.form.zone.types.province'|trans }}
        {{ 'sylius.form.zone.types.zone'|trans }}

Add custom create action for zones

<<<<<<< HEAD

    {{ 'sylius.ui.create'|trans }}

            {{ 'sylius.ui.type'|trans }}

        {{ 'sylius.form.zone.types.country'|trans }}
        {{ 'sylius.form.zone.types.province'|trans }}
        {{ 'sylius.form.zone.types.zone'|trans }}

=======
<form method="get" action="{{ path(grid.requestConfiguration.getRouteName('create')) }}" class="ui form">
    <select id="type" name="type" class="ui dropdown">
        <option value="country">{{ 'sylius.form.zone.types.country'|trans }}</option>
        <option value="province">{{ 'sylius.form.zone.types.province'|trans }}</option>
        <option value="zone">{{ 'sylius.form.zone.types.zone'|trans }}</option>
    </select>
    <button type="submit" class="ui labeled icon button primary plus">create</button>
</form>
>>>>>>> 34e0225... [Core] Add custom create action for zones


Add a default layout in case of not using grunt

{% extends 'KnpRadBundle:Layout:h5bp.html.twig' %}

{# CAUTION : This layout is not versioned. If you re using grunt, just don't
worry about that otherwise do not forget to force the layout versioning. #}


<div {% if attr is not empty -%}{%- for key, attribute in attr -%}{{- key -}}="{{- attribute -}}"{%- if not loop.first or not loop.last %} {% endif -%}{%- endfor -%}{%- else -%}class="alert alert-{{- context -}}{%- if dismissible %} alert-dismissible{%- endif %}" role="alert"{%- endif -%}>
    {%- if dismissible -%}
        {{- dismiss_button|raw -}}
    {%- endif -%}
    {%- if escape_prefix -%}
        {{- prefix -}}
    {%- else -%}
        {{- prefix|raw -}}
    {%- endif -%}
    {%- if escape_message -%}
        {%- if translate -%}
            {{- message|trans(translation_parameters, translation_domain) -}}
        {%- else -%}
            {{- message -}}
        {%- endif -%}
    {%- else -%}
        {%- if translate -%}
            {{- message|trans(translation_parameters, translation_domain)|raw -}}
        {%- else -%}
            {{- message|raw -}}
        {%- endif -%}
    {%- endif -%}
</div>

Add missing condition (if display_prefix)

<div {% if attr is not empty -%}{%- for key, attribute in attr -%}{{- key -}}="{{- attribute -}}"{%- if not loop.first or not loop.last %} {% endif -%}{%- endfor -%}{%- else -%}class="alert alert-{{- context -}}{%- if dismissible %} alert-dismissible{%- endif %}" role="alert"{%- endif -%}>
    {%- if dismissible -%}
        {{- dismiss_button|raw -}}
    {%- endif -%}
    {%- if display_prefix -%}
        {%- if escape_prefix -%}
            {{- prefix -}}
        {%- else -%}
            {{- prefix|raw -}}
        {%- endif -%}
    {%- endif -%}
    {%- if escape_message -%}
        {%- if translate -%}
            {{- message|trans(translation_parameters, translation_domain) -}}
        {%- else -%}
            {{- message -}}
        {%- endif -%}
    {%- else -%}
        {%- if translate -%}
            {{- message|trans(translation_parameters, translation_domain)|raw -}}
        {%- else -%}
            {{- message|raw -}}
        {%- endif -%}
    {%- endif -%}
</div>


{#
  Don't edit this file in the Kunstmaan Bundles.
  You can extend this file to add javascript without removing the complete configuration.
#}

Document what extending the editor may look like.

{#
  Don't edit this file in the Kunstmaan Bundles.
  You can extend this file to add javascript without removing the complete configuration.

  Example extra ckEditor config:

  ckEditorConfigs['simple'] = {
        skin: 'bootstrapck',
        startupFocus: false,
        bodyClass: 'CKEditor',
        filebrowserWindowWidth: 970,
        filebrowserImageWindowWidth: 970,
        filebrowserImageUploadUrl: '',
            toolbar: [
        {
            name: 'basicstyles',
            items: ['Bold', 'Italic', 'Underline', 'RemoveFormat']
        }
    ]};

#}


{% extends "layouts/default.html.twig" %}

{% set page_active = "home" %}

{# Overrides blocks in head of base template #}
{% block page_title %}{{translate("LEGAL")}}{% endblock %}

{% block page_description %}Our legal policy applies to your usage of this website and our services.{% endblock %}

{% block body_matter %}
    {% include 'components/legal.html.twig' %}
{% endblock %}

Revert "Fix wrong `translate` function"

{% extends "layouts/default.html.twig" %}

{% set page_active = "home" %}

{# Overrides blocks in head of base template #}
{% block page_title %}{{translation("LEGAL")}}{% endblock %}

{% block page_description %}Our legal policy applies to your usage of this website and our services.{% endblock %}

{% block body_matter %}
    {% include 'components/legal.html.twig' %}
{% endblock %}


{% set menu = 'rc' %}
{% extends '::base.html.twig' %}

{% block description %}RAWcooked{% endblock %}
{% block keywords %}RAWcooked{% endblock %}

Remove ads on RAWcooked pages

{% set menu = 'rc' %}
{% set noAds = true %}
{% extends '::base.html.twig' %}

{% block description %}RAWcooked{% endblock %}
{% block keywords %}RAWcooked{% endblock %}


{% extends 'SyliusUiBundle:Layout:sidebar.html.twig' %}

{% block title %}Sylius | {% endblock %}

{% block stylesheets %}
    {% include 'SyliusUiBundle::_stylesheets.html.twig' with {'path': 'assets/admin/css/style.css'} %}
{% endblock %}

{% block topbar %}

    {{ render(url('sylius_admin_partial_channel_index', {'template': '@SyliusAdmin/_channelLinks.html.twig'})) }}
    {% include '@SyliusAdmin/_search.html.twig' %}
    {% include '@SyliusAdmin/_security.html.twig' %}
{% endblock %}

{% block sidebar %}
    Sylius
    {{ knp_menu_render('sylius.admin.main', {'template': 'SyliusUiBundle:Menu:sidebar.html.twig'}) }}
{% endblock %}

{% block footer %}
    {{ 'sylius.ui.powered_by'|trans }} Sylius.
{% endblock %}

{% block javascripts %}
    {% include 'SyliusUiBundle::_javascripts.html.twig' with {'path': 'assets/admin/js/app.js'} %}
{% endblock %}

Add Admin Sidebar Menu Persistence

{% extends 'SyliusUiBundle:Layout:sidebar.html.twig' %}

{% block title %}Sylius | {% endblock %}

{% block stylesheets %}
    {% include 'SyliusUiBundle::_stylesheets.html.twig' with {'path': 'assets/admin/css/style.css'} %}
{% endblock %}

{% block topbar %}

    {{ render(url('sylius_admin_partial_channel_index', {'template': '@SyliusAdmin/_channelLinks.html.twig'})) }}
    {% include '@SyliusAdmin/_search.html.twig' %}
    {% include '@SyliusAdmin/_security.html.twig' %}
{% endblock %}

{% block sidebar %}
    Sylius
    {{ knp_menu_render('sylius.admin.main', {'template': 'SyliusUiBundle:Menu:sidebar.html.twig', 'currentClass': 'active'}) }}
{% endblock %}

{% block footer %}
    {{ 'sylius.ui.powered_by'|trans }} Sylius.
{% endblock %}

{% block javascripts %}
    {% include 'SyliusUiBundle::_javascripts.html.twig' with {'path': 'assets/admin/js/app.js'} %}
{% 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 '@SonataAdmin/CRUD/base_list_field.html.twig' %}

{% block field %}
    {% thumbnail attribute(object, field_description.name ), 'admin' with {'width': 75, 'height': 60} %}
{% endblock %}

Fix missing route parameter, use generateObjectUrl with route_name instead


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

{% set page_title = "Docs" %}

{% block body %}

Documentation Index

        Your browser does not support iframes.
        iframes are used in this section to sandbox the markdown-rendered content that is the documentation.

{% endblock %}

{% block javascripts %}

{% endblock %}

Print out parent content too

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

{% set page_title = "Docs" %}

{% block body %}

Documentation Index

        Your browser does not support iframes.
        iframes are used in this section to sandbox the markdown-rendered content that is the documentation.

{% endblock %}

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

{% endblock %}


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

{% set value = (value is null ? field.default : value) %}
{% set value = (value is same as(false) ? 0 : value) %}

{% set has_hidden = false %}
{% for key, text in field.options %}
    {% if key is empty %}
      {% set has_hidden = true %}
    {% endif %}
{% endfor %}

{% block global_attributes %}
    {{ parent() }}
    data-grav-field-name="{{ field.name|fieldName }}"
{% endblock %}

{% block input %}

        {% for key, text in field.options %}
            {% set id = "toggle_" ~ field.name ~ key %}

            <input type="radio"
                value="{{ key }}"
                id="{{ id }}"
                name="{{ (scope ~ field.name)|fieldName }}"
                {% if field.highlight is defined %}
                class="{{ field.highlight == '' ~ key ? 'highlight' : '' }}"
                {% endif %}
                {% if field.toggleable %}
                    {% if '' ~ key == '' ~ value %}checked="checked" {% endif %}
                    {% if value is defined and (key == 1 or key == '1') %}checked="checked" {% endif %}
                {% else %}
                    {% if '' ~ key == '' ~ value %}checked="checked" {% endif %}
                {% endif %}
                {% if field.validate.required in ['on', 'true', 1] %}required="required"{% endif %}
            />
            {% if grav.twig.twig.filters['tu'] is defined %}{{ text|tu }}{% else %}{{ text|t }}{% endif %}
        {% endfor %}

{% endblock %}


{#
	SfsAdminBundle - Symfony2 project
	(c) Ramine AGOUNE <ramine.agoune@solidlynx.com>
#}

	{% if field.relation is defined and field.relation %}
		{% set relatedObject = admin_get_property(object, key) %}

			{{ relatedObject }}

	{% else %}
		{{ admin_get_property(object, key) }}
	{% endif %}

Fix relational links in listView when the given key is a property of the related element

{#
	SfsAdminBundle - Symfony2 project
	(c) Ramine AGOUNE <ramine.agoune@solidlynx.com>
#}

	{% if field.relation is defined and field.relation %}
		{% set value = admin_get_property(object, key) %}
		{% if field.relation is same as(true) %}
			{% set relatedObject = admin_get_property(object, key) %}
		{% else %}
			{% set relatedObject = admin_get_property(object, field.relation) %}
		{% endif %}

		{% if admin_has_action('read') %}

				{{ value }}

		{% elseif admin_has_action('update') %}

				{{ value }}

		{% else %}
			{{ admin_get_property(object, key) }}
		{% endif %}
	{% else %}
		{{ admin_get_property(object, key) }}
	{% endif %}


{% extends '/Layout/Templates/base.html.twig' %}

{% block actionbar %}
  {% if showSearchAddSynonym %}

        {{ macro.buttonIcon(geturl('add_synonym'), 'plus-square', 'lbl.AddSynonym'|trans|ucfirst) }}

  {% endif %}
{% endblock %}

{% block content %}

      {% if dataGrid %}

          {{ dataGrid|raw }}

      {% endif %}
      {% if not dataGrid %}

{{ 'msg.NoSynonyms'|trans|format(geturl('add_synonym')|raw) }}

      {% endif %}

{% endblock %}

Fix add synonym link when there are no synonyms

{% extends '/Layout/Templates/base.html.twig' %}

{% block actionbar %}
  {% if showSearchAddSynonym %}

        {{ macro.buttonIcon(geturl('add_synonym'), 'plus-square', 'lbl.AddSynonym'|trans|ucfirst) }}

  {% endif %}
{% endblock %}

{% block content %}

      {% if dataGrid %}

          {{ dataGrid|raw }}

      {% endif %}
      {% if not dataGrid %}

{{ 'msg.NoSynonyms'|trans|format(geturl('add_synonym'))|raw }}

      {% endif %}

{% endblock %}


{% macro generate(input) %}
    <select{% for type,value in input %} {{type}}="{{value}}"{% endfor %}>
        {% for option, label in input.options %}<option value="{{option}}" {% if (option == input.value) %}selected{% endif %}>{{translate(label)}}</option>{% endfor %}
    </select>
{% endmacro %}

Fix warning with select macro

{% macro generate(input) %}
    <select{% for type,value in input %}{% if type != "options" %} {{type}}="{{value}}"{% endif %}{% endfor %}>
        {% for option, label in input.options %}<option value="{{option}}" {% if (option == input.value) %}selected{% endif %}>{{translate(label)}}</option>{% endfor %}
    </select>
{% endmacro %}


{#

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.

#}

{% block num_pages %}
    {{ admin.datagrid.pager.page }} / {{ admin.datagrid.pager.lastpage }}
     -
{% endblock %}

{% block num_results %}
    {% trans with {'%count%': admin.datagrid.pager.nbresults} from 'SonataAdminBundle' %}list_results_count{% endtrans %}
     -
{% endblock %}

{% block max_per_page %}
    <label class="control-label" for="{{ admin.uniqid }}_per_page">{% trans from 'SonataAdminBundle' %}label_per_page{% endtrans %}</label>
    <select class="per-page small form-control" id="{{ admin.uniqid }}_per_page" style="width: auto">
        {% for per_page in admin.getperpageoptions %}
            <option {% if per_page == admin.datagrid.pager.maxperpage %}selected="selected"{% endif %} value="{{ admin.generateUrl('list', {'filter': admin.datagrid.values|merge({'_page': 1, '_per_page': per_page})}) }}">
                {{- per_page -}}
            </option>
        {% endfor %}
    </select>
{% endblock %}

Fix entries per page dropdown URLs when used in custom actions

{#

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.

#}

{% block num_pages %}
    {{ admin.datagrid.pager.page }} / {{ admin.datagrid.pager.lastpage }}
     -
{% endblock %}

{% block num_results %}
    {% trans with {'%count%': admin.datagrid.pager.nbresults} from 'SonataAdminBundle' %}list_results_count{% endtrans %}
     -
{% endblock %}

{% block max_per_page %}
    <label class="control-label" for="{{ admin.uniqid }}_per_page">{% trans from 'SonataAdminBundle' %}label_per_page{% endtrans %}</label>
    <select class="per-page small form-control" id="{{ admin.uniqid }}_per_page" style="width: auto">
        {% for per_page in admin.getperpageoptions %}
            <option {% if per_page == admin.datagrid.pager.maxperpage %}selected="selected"{% endif %} value="{{ admin.generateUrl(action, {'filter': admin.datagrid.values|merge({'_page': 1, '_per_page': per_page})}) }}">
                {{- per_page -}}
            </option>
        {% endfor %}
    </select>
{% endblock %}


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

{% block title %}Miguel Perez • {{ post.title }}{% endblock %}

{% block description %}{{ post.description }}{% endblock %}

{% block keywords %}{{ post.keywords }}{% endblock %}

{% block content %}

{{ post.title }}
{{ time_diff(post.createdAt) }}

{{ post.body | raw }}

{% if is_granted('ROLE_ADMIN') %}Edit post{% endif %}
{% endblock %}

Change how link type posts are display.

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

{% block title %}Miguel Perez • {{ post.title }}{% endblock %}

{% block description %}{{ post.description }}{% endblock %}

{% block keywords %}{{ post.keywords }}{% endblock %}

{% block content %}
{% if post.type =="post" %}

{{ post.title }}
{{ time_diff(post.createdAt) }}

{{ post.body | raw }}

 {% for tag in post.tags %}{{ tag.name }}{% if not loop.last %}, {% endif%}{% endfor%} {{ time_diff(post.createdAt) }}

{% elseif post.type == 'link'%}

{{ post.title }}
{{ time_diff(post.createdAt) }}

{{ post.body | raw }}

 {% for tag in post.tags %}{{ tag.name }}{% if not loop.last %}, {% endif%}{% endfor%} {{ time_diff(post.createdAt) }}

{% endif %}
{% if is_granted('ROLE_ADMIN') %}Edit post{% endif %}
{% endblock %}


{% extends 'base.navigation.html.twig' %}
{% block content %}
{#call_webservice path="details/TraitOfProject" data=["trait_type_id"=>$trait_type_id, "dbversion"=>$DbVersion, "internal_project_id" => $internal_project_id] assign='data'#}

{{ trait.name }}

    {% if trait.trait_format == 'categorical_free' %}

    {% else %}

Unknown trait type

    {% endif %}

{% endblock %}

Add button to add trait to project

{% extends 'base.navigation.html.twig' %}
{% block content %}
{#call_webservice path="details/TraitOfProject" data=["trait_type_id"=>$trait_type_id, "dbversion"=>$DbVersion, "internal_project_id" => $internal_project_id] assign='data'#}

{{ trait.name }}

    {% if trait.trait_format == 'categorical_free' %}

        <button class="btn btn-primary" id="add-trait-to-project-button">Add trait to project</button>

    {% else %}

Unknown trait type

    {% endif %}

{% endblock %}


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

{% block content %}
    {% include 'OroGridBundle:Datagrid:view.html.twig' with {'datagrid': datagrid} %}
{% endblock %}

Implement basic pager - fixed grid theming for better demo - added translations - changed sorters rendering on page - added skeleton of batch section - added per page selector for pager

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

{% block content %}
    <div style="background-color: #ffffff; padding: 20px;">
        {% include 'OroGridBundle:Datagrid:view.html.twig' with {'datagrid': datagrid} %}
    </div>
{% endblock %}


{% extends baseTemplate %}

{% block styles %}
	{{ parent() }}
	<link rel="stylesheet" type="text/css" href="{{ asset('svcrud/jquery-ui/jquery-ui.min.css') }}"/>
	<link rel="stylesheet" type="text/css" href="{{ asset('svcrud/css/crud.css') }}"/>
{% endblock %}

{% block scripts %}
	{{ parent() }}
	<script type="text/javascript" src="{{ asset('svcrud/jquery-ui/jquery-ui.min.js') }}"></script>
	<script type="text/javascript" src="{{ asset('svcrud/js/edit.js') }}"></script>
{% endblock %}

{% set title = ('crud.title.list' ~ className)|trans ~ ' » ' ~ (add ? "crud.add"|trans : "crud.edit"|trans ~ ": " ~ entity) %}

{% block content %}

	{{ form.render()|raw }}

{% endblock %}

Fix svcrud to svicrud assets path

{% extends baseTemplate %}

{% block styles %}
	{{ parent() }}
	<link rel="stylesheet" type="text/css" href="{{ asset('svicrud/jquery-ui/jquery-ui.min.css') }}"/>
	<link rel="stylesheet" type="text/css" href="{{ asset('svicrud/css/crud.css') }}"/>
{% endblock %}

{% block scripts %}
	{{ parent() }}
	<script type="text/javascript" src="{{ asset('svicrud/jquery-ui/jquery-ui.min.js') }}"></script>
	<script type="text/javascript" src="{{ asset('svicrud/js/edit.js') }}"></script>
{% endblock %}

{% set title = ('crud.title.list' ~ className)|trans ~ ' » ' ~ (add ? "crud.add"|trans : "crud.edit"|trans ~ ": " ~ entity) %}

{% block content %}

	{{ form.render()|raw }}

{% endblock %}


{# extends 'DjebbzTicketBundle:Default:base.tml.twig' #}

{% block content %}

{{ content }}

{% endblock %}

Fix a typo in base name template that crashed the app

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

{% block content %}

{{ content }}

{% endblock %}


{% trans_default_domain 'FOSUserBundle' %}

Profile: {{ user.username }}

{{ 'profile.show.email'|trans }}: {{ user.email }}

            Friends

            Edit Profile

            Change Password

            Reset Password

    < Homepage

Reset password only for admin

{% trans_default_domain 'FOSUserBundle' %}

Profile: {{ user.username }}

{{ 'profile.show.email'|trans }}: {{ user.email }}

            Friends

            Edit Profile

            Change Password

    < Homepage


entity.{{ entity_name }}.add_form:
{# Note: a content entity with bundles will add via a dedicated controller. #}
{% if not bundle_entity_type %}
  route_name: entity.{{ entity_name }}.add_form
{% else %}
  route_name: '{{ entity_name }}.add_page'
{% endif %}
  title: 'Add {{ label }}'
  appears_on:
    - entity.{{ entity_name }}.collection
    - entity.{{ entity_name }}.canonical

Remove the action add link for canonical link


<!DOCTYPE html>
<html class="{{ htmlClass }}">
  <head>
    <title>{{ title }}</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width" />
    <!-- bower:css -->
    <link rel="stylesheet" href="../bower_components/font-awesome/css/font-awesome.css" />
    <!-- endbower -->
    <link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" />
    <link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" />

    <!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
    {{ patternLabHead | raw }}
    <!-- End Pattern Lab -->
    <title>{{ title }}</title>
  </head>
  <body class="{{ bodyClass }}">

Remove font awesome as link

<!DOCTYPE html>
<html class="{{ htmlClass }}">
  <head>
    <title>{{ title }}</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width" />
    <!-- bower:css -->
    <!-- endbower -->
    <link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" />
    <link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" />

    <!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
    {{ patternLabHead | raw }}
    <!-- End Pattern Lab -->
    <title>{{ title }}</title>
  </head>
  <body class="{{ bodyClass }}">


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

{% block title "An Error Occurred: "~status_text~"</title>" %}

{% block content %}

Oops! An Error Occurred!

The server returned a "{{ status_code }} {{ status_text }}".

{{ exception.message|e|replace({"\n": '
'})|format_file_from_text }}

{% endblock %}

Fix title of error template

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

{% block title "An Error Occurred: "~status_text %}

{% block content %}

Oops! An Error Occurred!

The server returned a "{{ status_code }} {{ status_text }}".

{{ exception.message|e|replace({"\n": '
'})|format_file_from_text }}

{% endblock %}


{% block extends %}
    {{ "{% extends '" ~ bundle ~ ":" ~ entity ~ ":common.html.twig' %}" }}
{% endblock extends %}

{{ "\{% set title = '" ~ entity ~ "'|trans %\}" }}

{% block body %}
    {{ "{% block body %}" }}
    {%- for field, metadata in fields %}

{{ field|capitalize }}

            {%- if metadata.type in ['date', 'datetime'] %}

            {{ '{{ ' ~ entity|lower ~ '.' ~ field|replace({'_': ''}) ~ '|date(\'Y-m-d H:i:s\') }}' }}

            {%- else %}

            {{ '{{ ' ~ entity|lower ~ '.' ~ field|replace({'_': ''}) ~ ' }}' }}

            {%- endif %}

    {%- endfor %}

    {{ "{% endblock %}" }}
{% endblock body %}

Add translation filter for crud field label.

{% block extends %}
    {{ "{% extends '" ~ bundle ~ ":" ~ entity ~ ":common.html.twig' %}" }}
{% endblock extends %}

{{ "\{% set title = '" ~ entity ~ "'|trans %\}" }}

{% block body %}
    {{ "{% block body %}" }}
    {%- for field, metadata in fields %}

{{ '\{\{\trans}\}' }}{{ field|capitalize }}{{ '\{\{\endtrans}\}' }}

            {%- if metadata.type in ['date', 'datetime'] %}

            {{ '{{ ' ~ entity|lower ~ '.' ~ field|replace({'_': ''}) ~ '|date(\'Y-m-d H:i:s\') }}' }}

            {%- else %}

            {{ '{{ ' ~ entity|lower ~ '.' ~ field|replace({'_': ''}) ~ ' }}' }}

            {%- endif %}

    {%- endfor %}

    {{ "{% endblock %}" }}
{% endblock body %}


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

{% block toolbar %}
    {% set icon %}
        {{ include('@phpFastCache/data_collector/icon.svg') }}
        {{ collector.size|sizeFormat }}
    {% endset %}

    {{ include('@WebProfiler/Profiler/toolbar_item.html.twig') }}
{% endblock %}

{% block menu %}

        {{ include('@phpFastCache/data_collector/icon.svg') }}
        PhpFastCache

{% endblock %}

{% block panel %}

        {% for name, cache in collector.caches %}

{{ name }}

                                Info
                                {{ cache.stats.info }}

                                Size
                                {{ cache.stats.size|sizeFormat }}

                                Data
                                {{ cache.stats.data }}

                                RawData
                                {{ cache.stats.rawData }}

        {% endfor %}

{% endblock %}

Add dump for rawData in profiler

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

{% block toolbar %}
    {% set icon %}
        {{ include('@phpFastCache/data_collector/icon.svg') }}
        {{ collector.size|sizeFormat(1) }}
    {% endset %}

    {{ include('@WebProfiler/Profiler/toolbar_item.html.twig') }}
{% endblock %}

{% block menu %}

        {{ include('@phpFastCache/data_collector/icon.svg') }}
        PhpFastCache

{% endblock %}

{% block panel %}

        {% for name, cache in collector.caches %}

{{ name }}

                                Info
                                {{ cache.stats.info }}

                                Size
                                {{ cache.stats.size|sizeFormat(1) }}

                                Data
                                {{ cache.stats.data }}

                                RawData
                                {{ dump(cache.stats.rawData) }}

        {% endfor %}

{% endblock %}


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

{% block title %}{{ 'suivi.suivi'|trans({}, 'suivi') }}:{% endblock %}

{% block content %}

                {% block content_title %}
                    {{ 'suivi.suivi_etude'|trans({}, 'suivi') }}
                {% endblock %}

            {% block breadcrumb %}

{{ 'suivi.suivi_etude'|trans({}, 'suivi') }}

                    {% if etude is defined %}

{{ etude.reference(param('namingConvention')) }}

-

                    {% endif %}

            {% endblock %}

            {# On définit un nouveau block, que les vues du bundle pourront remplir #}
            {% block content_bundle %}
            {% endblock %}

{% endblock %}

Add breadcrumb block to Suivi layout

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

{% block title %}{{ 'suivi.suivi'|trans({}, 'suivi') }}:{% endblock %}

{% block content %}

                {% block content_title %}
                    {{ 'suivi.suivi_etude'|trans({}, 'suivi') }}
                {% endblock %}

            {% block breadcrumb %}

{{ 'suivi.suivi_etude'|trans({}, 'suivi') }}

                    {% if etude is defined %}

{{ etude.reference(param('namingConvention')) }}

                    {% endif %}
                    {% block breadcrumb_items %}{% endblock %}

                        {% block breadcrumb_active %}{% endblock %}

            {% endblock %}

            {# On définit un nouveau block, que les vues du bundle pourront remplir #}
            {% block content_bundle %}
            {% endblock %}

{% endblock %}


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

{% block body %}

My home page

{% endblock body %}

Add link from home to tests

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

{% block body %}

My home page

To start the tests, click here

{% endblock body %}


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

{% block textarea_widget %}
{% set attr = attr|merge({'class': attr.class|default('') ~ ' form-control'}) %}
{{ parent() }}
{% endblock textarea_widget %}

{% block form_widget_simple %}
{% filter spaceless %}
    {% set attr = attr|merge({'class': attr.class|default('') ~ ' form-control'}) %}
    {% set type = type|default('text') %}

    {{ parent() }}
{% endfilter %}
{% endblock form_widget_simple %}

{% block form_row %}
{% filter spaceless %}

 0 %} has-error{% endif %}">
        {{ form_label(form) }}

        {{ form_widget(form) }}

        {% for error in errors %}

                {{
                    error.messagePluralization is null
                    ? error.messageTemplate|trans(error.messageParameters, 'validators')
                    : error.messageTemplate|transchoice(error.messagePluralization, error.messageParameters, 'validators')
                }}

        {% endfor %}

{% endfilter %}
{% endblock form_row %}

{% block form_errors %}
{% filter spaceless %}
    {% if errors|length > 0 %}
        {% for error in errors %}

{{ error.message }}

        {% endfor %}
    {% endif %}
{% endfilter %}
{% endblock form_errors %}

Replace uses of deprecated filter tag

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

{% block textarea_widget %}
{% set attr = attr|merge({'class': attr.class|default('') ~ ' form-control'}) %}
{{ parent() }}
{% endblock textarea_widget %}

{% block form_widget_simple %}
{% apply spaceless %}
    {% set attr = attr|merge({'class': attr.class|default('') ~ ' form-control'}) %}
    {% set type = type|default('text') %}

    {{ parent() }}
{% endapply %}
{% endblock form_widget_simple %}

{% block form_row %}
{% apply spaceless %}

 0 %} has-error{% endif %}">
        {{ form_label(form) }}

        {{ form_widget(form) }}

        {% for error in errors %}

                {{
                    error.messagePluralization is null
                    ? error.messageTemplate|trans(error.messageParameters, 'validators')
                    : error.messageTemplate|transchoice(error.messagePluralization, error.messageParameters, 'validators')
                }}

        {% endfor %}

{% endapply %}
{% endblock form_row %}

{% block form_errors %}
{% apply spaceless %}
    {% if errors|length > 0 %}
        {% for error in errors %}

{{ error.message }}

        {% endfor %}
    {% endif %}
{% endapply %}
{% endblock form_errors %}


{% macro git_info(info) %}
    {# Why is this a macro? #}
    {# We have a bit of logic in here relating to whether the user's an admin or not (admins get shiny links!) #}
    {% if app.user and is_granted('ROLE_SUPER_ADMIN') %}

             Korobi/Web
            ({{ info.getShortHash() }}) on {{ info.getBranch() }}

    {% else %}

             Korobi/Web ({{ info.getShortHash() }}) on {{ info.getBranch() }}

    {% endif %}
{% endmacro %}

Change case of organisation in footer links


Add example of navbar without links (WWWD-2764)

{% include "@bolt-components-navbar/navbar.twig" with {
  "title": {
    "tag": "h2",
    "text": "Navbar without links",
    "icon": {
      "name": "marketing-gray"
    }
  },
  "links": []
} %}


            Upload

        Supported is tsv format.
        More information is available in the documentation.
        Beware that all uploaded traits are public and can be used by all fennec users.
        Make sure that you have the rights to distribute this data and that you include proper citation and attribution information.
        <form>
            Traittype: <input type="text" name="traitType"/>

            Default citation: <input type="text" name="defaultCitation"/>

            Mapping: <input type="text" name="mapping"/>

            Skip unmapped: <input type="checkbox" name="skipUnmapped"/>

            <input class="btn fileinput" id="trait-fileupload" type="file" name="file" style="display: none">
            Choose file

            <button id="trait-upload-submit-button" class="btn" type="button">Submit</button>
        </form>

Add ids to upload trait form

            Upload

        Supported is tsv format.
        More information is available in the documentation.
        Beware that all uploaded traits are public and can be used by all fennec users.
        Make sure that you have the rights to distribute this data and that you include proper citation and attribution information.
        <form>
            Traittype: <input type="text" name="traitType" id="trait-upload-traitType"/>

            Default citation: <input type="text" name="defaultCitation" id="trait-upload-defaultCitation"/>

            Mapping: <input type="text" name="mapping" id="trait-upload-mapping"/>

            Skip unmapped: <input type="checkbox" name="skipUnmapped" id="trait-upload-skipUnmapped"/>

            <input class="btn fileinput" id="trait-fileupload" type="file" name="file" style="display: none">
            Choose file

            <button id="trait-upload-submit-button" class="btn" type="button">Submit</button>
        </form>


{% macro info_row(name, value) %}

        {{ name }}
        {{ value|default('Not entered')|raw }}

{% endmacro %}

{% macro divider() %}

{% endmacro %}

Fix raw text output that would lead to wild JS execution

{% macro info_row(name, value) %}

        {{ name }}
        {% if value != null %}
            {{ value }}
        {% else %}
            Not entered
        {% endif %}

{% endmacro %}

{% macro divider() %}

{% endmacro %}


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

{% block fos_user_content %}
    {% if error %}

{{ error }}

    {% endif %}

    <form action="{{ path("fos_user_security_check") }}" method="post" class="form-stacked">
        <fieldset>
            <legend>Login</legend>

                Username:
                <input type="text" id="username" name="_username" value="{{ last_username }}" />

                Password
                <input type="password" id="password" name="_password" />

                Remember Me
                <input type="checkbox" id="remember_me" name="_remember_me" value="on" />

                <input type="submit" id="_submit" name="_submit" class="btn primary" value="Login" />
                {{ form_rest(form) }}

        </fieldset>
    </form>
{% endblock fos_user_content %}

Fix a mistake in last commit

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

{% block fos_user_content %}
    {% if error %}

{{ error }}

    {% endif %}

    <form action="{{ path("fos_user_security_check") }}" method="post" class="form-stacked">
        <fieldset>
            <legend>Login</legend>

                Username:
                <input type="text" id="username" name="_username" value="{{ last_username }}" />

                Password
                <input type="password" id="password" name="_password" />

                Remember Me
                <input type="checkbox" id="remember_me" name="_remember_me" value="on" />

                <input type="submit" id="_submit" name="_submit" class="btn primary" value="Login" />

        </fieldset>
    </form>
{% endblock fos_user_content %}


{% block breithbarbot_cropper_bundle_cropper_type_widget %}
    {% spaceless %}

            {% if form.delete is defined %}
                {{ form_row(form.delete) }}
            {% endif %}

            {{ form_rest(form) }}

    {% endspaceless %}
{% endblock %}

Replace empty image by "dummy image" script

{% block breithbarbot_cropper_bundle_cropper_type_widget %}
    {% spaceless %}

            {% if form.delete is defined %}
                {{ form_row(form.delete) }}
            {% endif %}

            {{ form_widget(form.full_path) }}
            {{ form_widget(form.path) }}
            {{ form_widget(form.name) }}
            {{ form_widget(form.mime_type) }}
            {{ form_widget(form.size) }}

            {#{{ form_rest(form) }}#}

    {% endspaceless %}
{% endblock %}


    <button type="button" class="btn btn-primary" id="sidebar_save">
         {{ __('contenttypes.generic.save', {'%contenttype%': context.contenttype.singular_name}) }}
    </button>

    <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">

        Toggle Dropdown
    </button>

            <button type="submit" class="btn btn-link" id="save_return">
                 {{ __('general.phrase.save-and-return-overview') }}
            </button>

            <button type="submit" class="btn btn-link" id="sidebar_save_create">
                 {{ __('general.phrase.save-and-create-new-record') }}
            </button>

Remove dropdown options for singleton

    <button type="button" class="btn btn-primary" id="sidebar_save">
         {{ __('contenttypes.generic.save', {'%contenttype%': context.contenttype.singular_name}) }}
    </button>

    {% if not context.contenttype.singleton %}
    <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">

        Toggle Dropdown
    </button>

            <button type="submit" class="btn btn-link" id="save_return">
                 {{ __('general.phrase.save-and-return-overview') }}
            </button>

            <button type="submit" class="btn btn-link" id="sidebar_save_create">
                 {{ __('general.phrase.save-and-create-new-record') }}
            </button>

    {% endif %}


{% set view_settings = {} %}
{% set params = header.view.params|default('content') %}

{# Parse view_settings #}
{% if header.view %}
    {% set view_settings = header.view %}
{% endif %}
{% if page.header.view %}
    {% set view_settings = view_settings|merge(page.header.view) %}
{%  endif %}
{% set view_settings = config.get('plugins.view').header.view|merge(view_settings) %}

{# Output view #}
{% set view = page.find(header.view.page).collection(params, view_settings.pagination) %}
{% if view %}
    {% if view_settings.template %}
        {% include ((view_settings.template ~ '.html.twig')) with {'view': view, 'context': page} %}
    {% endif %}
{% endif %}

Fix parsing of view settings in template

{% set view_settings = {} %}

{# Set view settings from header. #}
{% if header.view %}
    {% set view_settings = header.view %}
{% endif %}

{# Set view settings from page. #}
{% if page.header.view %}
    {% set view_settings = view_settings|merge(page.header.view) %}
{%  endif %}

{# Set view settings from plugin config. #}
{% set config = config.get('plugins.view') %}
{% if config.header.view %}
    {% set view_settings = view_settings|merge(config.header.view) %}
{% endif %}

{# Set view #}
{% set params = header.view.params|default('content') %}
{% set pagination = header.view.pagination|default(false) %}
{% set view = page.find(header.view.page).collection(params, pagination) %}

{# Output view #}
{% if view and view_settings.template %}
    {% include ((view_settings.template ~ '.html.twig')) with {'view': view, 'context': page} %}
{% endif %}


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

{% block metaTitle %}
  All tickets - {{ parent() }}
{% endblock %}

{% block title %}Viewing all tickets{% endblock %}

{% block content %}
  {% if message %}

{{ message }}

  {% endif %}

  {% for ticket in tickets %}

{{ ticket.title }}

{{ ticket.created_at }}

{{ ticket.description }}

  {% endfor %}
{% endblock %}

Replace ticket.description by a link to the ticket itself

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

{% block metaTitle %}
  All tickets - {{ parent() }}
{% endblock %}

{% block title %}Viewing all tickets{% endblock %}

{% block content %}
  {% if message %}

{{ message }}

  {% endif %}

  {% for ticket in tickets %}

{{ ticket.title }}

{{ ticket.created_at }}

View ticket

  {% endfor %}
{% endblock %}


Add 404 page which extends Sylius layout

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

{% block content %}

Oops! An Error Occurred

The server returned a "404 Not Found".

    Something is broken. Please e-mail us at [email] and let us know
    what you were doing when this error occurred. We will fix it as soon
    as possible. Sorry for any inconvenience caused.

{% endblock %}


{% set hiddenPasswordLogin = event.hasArgument('hiddenPasswordLogin') %}
{% if hiddenPasswordLogin %}

        <button class="btn btn-default btn-block js-password-login-btn">Password login</button>

{% endif %}

    <form action="{{ url('app_login_check') }}" method="post">

            Username/Email
            <input type="text" class="form-control" id="username" name="_username" value="{{ last_username }}">

            Password
            <input type="password" class="form-control" id="password" name="_password">

        <button class="btn btn-primary btn-block" type="submit">Login</button>
        {% if hiddenPasswordLogin %}
            <button class="btn btn-default btn-block js-password-login-btn-back">Back</button>
        {% endif %}
    </form>

Fix password login javascript show/hide

{% set hiddenPasswordLogin = event.hasArgument('hiddenPasswordLogin') %}
{% if hiddenPasswordLogin %}

        <button
                class="btn btn-default btn-block"
                onclick="$('.panel .panel-body:not(.js-password-login)').addClass('hidden');$('.panel .js-password-login').removeClass('hidden');"
        >Password login</button>

{% endif %}

    <form action="{{ url('app_login_check') }}" method="post">

            Username/Email
            <input type="text" class="form-control" id="username" name="_username" value="{{ last_username }}">

            Password
            <input type="password" class="form-control" id="password" name="_password">

        <button class="btn btn-primary btn-block" type="submit">Login</button>
        {% if hiddenPasswordLogin %}
            <button class="btn btn-default btn-block"
                    onclick="$('.panel .panel-body:not(.js-password-login)').removeClass('hidden');$('.panel .js-password-login').addClass('hidden');"
            >Back</button>
        {% endif %}
    </form>


Household ID, Last Name, First Name, Nametag Name, PriSec, Active, Primary Email
{% for household in entities %}
{% for member in household.persons %}
{{ household.id}}, "{{member.firstname}}", "{{member.lastname}}", "{{member.nametagname}}", "{{member.secondary ? "" : "Retiree"}}", {{member.activenow ? "Yes" : "No"}}, "{{member.emailCanonical}}"
{% endfor %}
{% endfor %}

Add postalname column to household CSV export

Household ID, Postal Name, Last Name, First Name, Nametag Name, PriSec, Active, Primary Email
{% for household in entities %}
{% for member in household.persons %}
{{ household.id}}, "{{household.postalname}}", "{{member.firstname}}", "{{member.lastname}}", "{{member.nametagname}}", "{{member.secondary ? "Spouse" : "Retiree"}}", {{member.activenow ? "Yes" : "No"}}, "{{member.emailCanonical}}"
{% endfor %}
{% endfor %}


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

{% set blockId = 'entity-transitions-container-' ~ random() %}

        {% for data in transitionsData %}
            {# Show button for start or transit workflow #}
            {% set transitionData = {
                'enabled': data.isAllowed,
                'transition-label': data.transition.label|trans,
                'message': data.transition.message|trans,
                'transition-condition-messages': data.errors
            } %}

            {% if data.workflowItem is not defined %}
                {% set data = data|merge({'workflowItem': null}) %}
                {% if data.transition.hasForm() %}
                    {% set transitionData = transitionData|merge({'dialog-url': path(
                        'oro_workflow_widget_start_transition_form',
                        {
                            workflowName: data.workflow.name,
                            transitionName: data.transition.name,
                            entityId: entity_id
                        })
                    }) %}
                {% endif %}

                {# New workflow #}
                {% set transitionData = transitionData|merge({'transition-url': path(
                    'oro_workflow_api_rest_workflow_start',
                    {
                        workflowName: data.workflow.name,
                        transitionName: data.transition.name,
                        entityId: entity_id
                    })
                }) %}
            {% endif %}

            {{ workflowMacros.renderTransitionButton(
                data.workflow,
                data.transition,
                data.workflowItem,
                transitionData
            ) }}
        {% endfor %}

    {{ workflowMacros.renderTransitionsJs(transitionsData, blockId) }}

Create Sales Funnel workflow configuration - updated workflow configuration - removed lead and opportunity fields from sales funnel form - small fixes in templates

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

{% set blockId = 'entity-transitions-container-' ~ random() %}

        {% for data in transitionsData %}
            {# Show button for start or transit workflow #}
            {% set transitionData = {
                'enabled': data.isAllowed,
                'transition-label': data.transition.label|trans,
                'message': data.transition.message|trans|nl2br,
                'transition-condition-messages': data.errors
            } %}

            {% if data.workflowItem is not defined %}
                {% set data = data|merge({'workflowItem': null}) %}
                {% if data.transition.hasForm() %}
                    {% set transitionData = transitionData|merge({'dialog-url': path(
                        'oro_workflow_widget_start_transition_form',
                        {
                            workflowName: data.workflow.name,
                            transitionName: data.transition.name,
                            entityId: entity_id
                        })
                    }) %}
                {% endif %}

                {# New workflow #}
                {% set transitionData = transitionData|merge({'transition-url': path(
                    'oro_workflow_api_rest_workflow_start',
                    {
                        workflowName: data.workflow.name,
                        transitionName: data.transition.name,
                        entityId: entity_id
                    })
                }) %}
            {% endif %}

            {{ workflowMacros.renderTransitionButton(
                data.workflow,
                data.transition,
                data.workflowItem,
                transitionData
            ) }}
        {% endfor %}

    {{ workflowMacros.renderTransitionsJs(transitionsData, blockId) }}


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

{% block label %}
    {% if item.labelAttribute('icon') %}{% endif %}
    {% if not item.labelAttribute('iconOnly') %}{{ item.label|trans }}{% endif %}
    {% if item.labelAttribute('data-image') %}{% endif %}
{% endblock %}

Fix safe_label option in menu template.

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

{% block label %}
    {% if item.labelAttribute('icon') %}{% endif %}
    {% if not item.labelAttribute('iconOnly') %}
        {% if options.allow_safe_labels and item.getExtra('safe_label', false) %}{{ item.label|trans|raw }}{% else %}{{ item.label|trans }}{% endif %}
    {% endif %}
    {% if item.labelAttribute('data-image') %}{% endif %}
{% endblock %}


{% extends "base/class.php.twig" %}

{% block file_path %}
Drupal\{{module}}\{{ class_name }}.
{% endblock %}

{% block namespace_class %}
namespace Drupal\{{module}};
{% endblock %}

{% block class_declaration %}
/**
 * Class {{ class_name }}.
 *
 * @package Drupal\{{module}}
 */
class {{ class_name }} {% if(interface) %}implements {{ class_name }}Interface{% endif %} {% endblock %}
{% block class_construct %}
  /**
   * Constructor.
   */
  public function __construct({{ servicesAsParameters(services)|join(', ') }}) {
{{ serviceClassInitialization(services) }}
  }
{% endblock %}

Add proper space between Class name and implements keyword

{% extends "base/class.php.twig" %}

{% block file_path %}
Drupal\{{module}}\{{ class_name }}.
{% endblock %}

{% block namespace_class %}
namespace Drupal\{{module}};
{% endblock %}

{% block class_declaration %}
/**
 * Class {{ class_name }}.
 *
 * @package Drupal\{{module}}
 */
class {{ class_name }}{% if(interface is defined and interface) %} implements {{ class_name }}Interface{% endif %} {% endblock %}
{% block class_construct %}
  /**
   * Constructor.
   */
  public function __construct({{ servicesAsParameters(services)|join(', ') }}) {
{{ serviceClassInitialization(services) }}
  }
{% endblock %}


{% trans_default_domain 'FOSUserBundle' %}

Username : {{ user.username }}

Email : {{ user.email }}

Nom : {{ user.lastname }}

Prénom : {{ user.firstname }}

Date de naissance : {{ user.birthdate}}

Sexe : {{ user.sex }}

Promo : {{ user.promo }}

Téléphone : {{ user.phone }}

Remove birthday and sex from profile

{% trans_default_domain 'FOSUserBundle' %}

Username : {{ user.username }}

Email : {{ user.email }}

Nom : {{ user.lastname }}

Prénom : {{ user.firstname }}

Promo : {{ user.promo }}

Téléphone : {{ user.phone }}


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

{% block title %}Composer Repository currently not available{% endblock %}

{% block header %}
    Composer Repository currently not available
{% endblock %}

{% block content %}
    <a href="{{ path('repository') }}" class="btn btn-large btn-block btn-primary">
        Manage Repositories
    </a>
{% endblock %}

Add a hint about missing package files.

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

{% block title %}Composer Repository currently not available{% endblock %}

{% block header %}
    Composer Repository currently not available
{% endblock %}

{% block content %}

Maybe »Satis« was not started before or did not build a valid package.json file yet.

        Manage Repositories

{% endblock %}


<!DOCTYPE html>

        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>{% block title %}Ryan Catlin{% endblock %}</title>

        {% block stylesheets %}
            {% include 'MainBundle::_stylesheets.html.twig' %}
        {% endblock %}

        {% block javascripts %}
            {% include 'MainBundle::_javascripts.html.twig' %}
        {% endblock %}

        {% include 'MainBundle::favicon.html.twig' %}

        {% include 'MainBundle::menu.html.twig' %}

Ryan Catlin

code and shark enthusiast

                {% block content %}
                {% endblock %}

        {% block google_analytics %}
            {% include 'MainBundle::google_analytics.html.twig' %}
        {% endblock %}

            {% block footer %}
            {% endblock %}

Correct col for large screens on main base template view


{% for flashMessage in app.session.flashbag.get('success') %}
    <div class="alert alert-success" role="alert">
        {{ flashMessage }}
    </div>
{% endfor %}

Add support for error and info messages.

{% for flashMessage in app.session.flashbag.get('error') %}

        {{ flashMessage }}

{% endfor %}

{% for flashMessage in app.session.flashbag.get('info') %}

        {{ flashMessage }}

{% endfor %}

{% for flashMessage in app.session.flashbag.get('success') %}

        {{ flashMessage }}

{% endfor %}


<script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-48203119-1', 'phansible.com');
    ga('send', 'pageview');
</script>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/assets/js/jquery-2.0.3.min.js" />')</script>
<script src="/assets/js/semantic.min.js"></script>
<script src="/assets/js/selectize.min.js"></script>
<script src="/assets/js/jquery.address.js"></script>
<script src="/assets/js/jquery.waypoints.js"></script>
<script src="/assets/js/jquery.waypoints-sticky.js"></script>
<script src="/assets/js/main.js"></script>

Add pride corner to show support for the LGBTQI+ community

<script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-48203119-1', 'phansible.com');
    ga('send', 'pageview');
</script>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/assets/js/jquery-2.0.3.min.js" />')</script>
<script src="/assets/js/semantic.min.js"></script>
<script src="/assets/js/selectize.min.js"></script>
<script src="/assets/js/jquery.address.js"></script>
<script src="/assets/js/jquery.waypoints.js"></script>
<script src="/assets/js/jquery.waypoints-sticky.js"></script>
<script src="/assets/js/main.js"></script>
<script type="text/javascript" src="https://cdn.pride.codes/js/codecorner.js"></script>


    {{ form_errors(form) }}

        {{ form_row(form.code) }}
        {{ form_row(form.parent) }}

    {% for locale, translationForm in form.translations %}

             {{ locale|sylius_locale_name }}

            {{ form_row(translationForm.name) }}
            {{ form_row(translationForm.permalink) }}
            {{ form_row(translationForm.description) }}

    {% endfor %}

Implement adding images to a taxon

    {{ form_errors(form) }}

        {{ form_row(form.code) }}
        {{ form_row(form.parent) }}

    {% for locale, translationForm in form.translations %}

             {{ locale|sylius_locale_name }}

            {{ form_row(translationForm.name) }}
            {{ form_row(translationForm.permalink) }}
            {{ form_row(translationForm.description) }}

    {% endfor %}

{{ 'sylius.ui.media'|trans }}

    {{ form_row(form.images, {'label': false}) }}


{% extends 'VictoireCoreBundle::_modal.html.twig' %}
{% trans_default_domain "victoire" %}
{% block modal_container_classes %}{{ parent() }} vic-view-modal{% endblock modal_container_classes %}

{% block modal_header_title %}
    {{'index.template.modal.header'|trans({}, 'victoire')}}
{% endblock modal_header_title %}

{% block modal_body_content %}
    {{ _self.templatesHierarchy(templates) }}
{% endblock modal_body_content %}

{% macro templatesHierarchy(templates) %}
    {% for template in templates %}

{{ template.name|default('#' ~ template.id) }}
      {% if template.templateInheritors %}

            {{ _self.templatesHierarchy(template.templateInheritors) }}

      {% endif %}

    {% endfor %}
{% endmacro %}

{% block modal_footer_content %}
{% endblock modal_footer_content %}

Use Template backendName if set in Template modal list

{% extends 'VictoireCoreBundle::_modal.html.twig' %}
{% trans_default_domain "victoire" %}
{% block modal_container_classes %}{{ parent() }} vic-view-modal{% endblock modal_container_classes %}

{% block modal_header_title %}
    {{'index.template.modal.header'|trans({}, 'victoire')}}
{% endblock modal_header_title %}

{% block modal_body_content %}
    {{ _self.templatesHierarchy(templates) }}
{% endblock modal_body_content %}

{% macro templatesHierarchy(templates) %}
    {% for template in templates %}

{{ template.backendName|default(template.name)|default('#' ~ template.id) }}
      {% if template.templateInheritors %}

            {{ _self.templatesHierarchy(template.templateInheritors) }}

      {% endif %}

    {% endfor %}
{% endmacro %}

{% block modal_footer_content %}
{% endblock modal_footer_content %}


{% include 'partials/_header.twig' %}

{{ menu('main', 'partials/_menu.twig') }}

			{% setcontent boxes = 'entries/latest/10' %}
			{% for box in boxes %}

{{ box.title }}

{{ box.teaser }}

					{{ link(box.link, "Read more") }}

			{% endfor %}

{% include 'partials/_footer.twig' %}

Add responsive menu support with toggler

{% include 'partials/_header.twig' %}

      <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">

      </button>
      Flexcard

        {{ menu('main', 'partials/_menu.twig') }}

			{% setcontent boxes = 'entries/latest/10' %}
			{% for box in boxes %}

{{ box.title }}

{{ box.teaser }}

					{{ link(box.link, "Read more") }}

			{% endfor %}

{% include 'partials/_footer.twig' %}


{#
 # Passed in variables:
 #
 #}
{% extends twigparent %}

{% block members %}

New Member

            {{ form_start(form) }}
                {{ form_row(form.username) }}
                {{ form_row(form.displayname) }}
                {{ form_row(form.email) }}

                {{ form_row(form.submit) }}
            {{ form_end(form) }}

{% endblock %}

Remove user name from registration template

{#
 # Passed in variables:
 #
 #}
{% extends twigparent %}

{% block members %}

New Member

            {{ form_start(form) }}
                {{ form_row(form.displayname) }}
                {{ form_row(form.email) }}

                {{ form_row(form.submit) }}
            {{ form_end(form) }}

{% endblock %}


<!DOCTYPE html>

        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>{% block title %}Ryan Catlin{% endblock %}</title>
        {% block stylesheets %}
            {% stylesheets
                'components/bootstrap/dist/css/bootstrap.min.css'
                'components/bootstrap/dist/css/bootstrap-theme.min.css'
                '@MainBundle/Resources/css/styles.css'
                filter='cssrewrite'
                output="css/compiled/all.css"
             %}
                <link rel="stylesheet" href="{{ asset_url }}" />
            {% endstylesheets %}
        {% endblock %}
        {% block javascripts %}
            {% javascripts
                'components/jquery/dist/jquery.js'
                'components/bootstrap/js/*'
                output="js/compiled/all.js"
            %}

            {% endjavascripts %}
        {% endblock %}

                Ryan Catlin code and shark enthusiast

        {% include 'MainBundle::menu.html.twig' %}

            {% block content %}
            {% endblock %}

Move small jumbotron text to newline


{% extends "@pulsar/pulsar/components/tab.html.twig" %}
{% import '@pulsar/pulsar/v2/helpers/html.html.twig' as html %}
{% import '@pulsar/pulsar/v2/helpers/form.html.twig' as form %}

{% block tab_content %}

    {{
        html.media({
            'image': '/images/pulsar-brand-medium.png',
            'image_alt': 'Pulsar logo',
            'title': 'Media object with image',
            'description': 'Description'
        })
    }}

    {{
        html.media({
            'icon': 'ok',
            'title': 'Media helper with icon',
            'description': 'Description'
        })
    }}

    {{
        html.media({
            'icon': 'youtube-square',
            'icon_colour': '#e52d27',
            'title': 'Custom icon colours',
            'description': 'Description'
        })
    }}

{% endblock %}


                {% if theme_config.social_icons|length > 0 %}

                    {% for icon in theme_config.social_icons %}

                    {% endfor %}

                {% endif %}
                {% if theme_config.copyright %}

{{ theme_config.copyright }}

                {% endif %}

Update footer template, set links to blank


{% import 'OroUIBundle::macros.html.twig' as UI %}

{% if resource_granted('oro_note_create') %}
    {{ UI.clientButton({
        'id': 'add-entity-note-button',
        'aCss': 'no-hash',
        'iCss': 'icon-comment-alt hide-text',
        'label' : 'oro.note.action.add'|trans
    }) }}
    <script type="text/javascript">
        require(['jquery', 'oroui/js/mediator'],
        function($, mediator){
            $('#add-entity-note-button').on('click', function(e) {
                e.preventDefault();
                mediator.trigger('note:add');
            });
        });
    </script>
{% endif %}

Hide Add Note button if there is no permission to view Notes - add condition for resource oro_note_view

{% import 'OroUIBundle::macros.html.twig' as UI %}

{% if resource_granted('oro_note_create') and resource_granted('oro_note_view') %}
    {{ UI.clientButton({
        'id': 'add-entity-note-button',
        'aCss': 'no-hash',
        'iCss': 'icon-comment-alt hide-text',
        'label' : 'oro.note.action.add'|trans
    }) }}
    <script type="text/javascript">
        require(['jquery', 'oroui/js/mediator'],
        function($, mediator){
            $('#add-entity-note-button').on('click', function(e) {
                e.preventDefault();
                mediator.trigger('note:add');
            });
        });
    </script>
{% endif %}


<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    {% for url in url_set %}
        <url>
            <loc>{{ url.localization }}</loc>
            {% if url.lastModification is defined %}
                <lastmod>{{ url.lastModification|format_date("Y-M-d'T'HH:mm:ssZZZZZ") }}</lastmod>
            {% endif %}
            {% if url.changeFrequency is defined %}
                <changefreq>{{ url.changeFrequency }}</changefreq>
            {% endif %}
            {% if url.priority is defined %}
                <priority>{{ url.priority }}</priority>
            {% endif %}
        </url>
    {% endfor %}
</urlset>

Revert sitemap localized date to date

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    {% for url in url_set %}
        <url>
            <loc>{{ url.localization }}</loc>
            {% if url.lastModification is defined %}
                <lastmod>{{ url.lastModification|date('c') }}</lastmod>
            {% endif %}
            {% if url.changeFrequency is defined %}
                <changefreq>{{ url.changeFrequency }}</changefreq>
            {% endif %}
            {% if url.priority is defined %}
                <priority>{{ url.priority }}</priority>
            {% endif %}
        </url>
    {% endfor %}
</urlset>


{% set translationDomain = "report-accounts" %}
{% trans_default_domain translationDomain %}

{% embed "AppBundle:Components/Listing:_card_item.html.twig" %}
    {% block card %}

{{ account.bank }} {{ account.accountType }}

{{ 'banks.accountNumber' | trans({}, translationDomain) }}:

0000{{ account.accountNumber }}

{{ 'banks.sortCode' | trans({}, translationDomain) }}:

{{ account.sortCode }}

    {% endblock %}
    {% block meta %}
        {{ 'balance.incomplete.accounts.missing' | trans({
             '%closingDate%': (account.closingDate | date)
        }, translationDomain) }}

            {{ 'balance.incomplete.accounts.editLink' | trans({}, translationDomain) }}

    {% endblock %}
{% endembed %}

Fix date format for accounts in incomplete balance screen

{% set translationDomain = "report-accounts" %}
{% trans_default_domain translationDomain %}

{% embed "AppBundle:Components/Listing:_card_item.html.twig" %}
    {% block card %}

{{ account.bank }} {{ account.accountType }}

{{ 'banks.accountNumber' | trans({}, translationDomain) }}:

0000{{ account.accountNumber }}

{{ 'banks.sortCode' | trans({}, translationDomain) }}:

{{ account.sortCode }}

    {% endblock %}
    {% block meta %}
        {{ 'balance.incomplete.accounts.missing' | trans({
             '%closingDate%': (account.closingDate | date("j M Y"))
        }, translationDomain) }}

            {{ 'balance.incomplete.accounts.editLink' | trans({}, translationDomain) }}

    {% endblock %}
{% endembed %}


{{ articleHeader.kicker }}

     -
    {{ articleHeader.title }}

Add font stylistic for article title


{% twig_js name="biopen_twigJs_marker" %}

	{% set nbreOthersProducts = productsToDisplay.others.length %}

	{% if nbreOthersProducts > 0 and showMoreIcon %}

		{% set widthMoreProduct = nbreOthersProducts * 39 + 5;  %}

			{% for otherProduct in productsToDisplay.others %}

				{% set disableProduct = otherProduct.disabled ? 'disabled' : '' %}

			 {% endfor %}

	{% endif %}

	{% if element.isFavorite %}

	{% endif %}


{% set _layout = easyadminpopup_layout() %}

{% extends _layout %}

{% block body %}

        {% block wrapper %}

            {% block content %}

                        {% block content_header %}

{% block content_title %}{% endblock %}

                        {% endblock content_header %}

                        {% block main %}{% endblock %}

                        {% block sidebar %}{% endblock %}

            {% endblock content %}

        {% endblock wrapper %}

    {% block body_javascript %}

    {% endblock body_javascript %}
    {% for js_asset in easyadmin_config('design.assets.js') %}

    {% endfor %}

{% endblock body %}

Use container fluid for the layout

{% set _layout = easyadminpopup_layout() %}

{% extends _layout %}

{% block body %}

        {% block wrapper %}

            {% block content %}

                        {% block content_header %}

{% block content_title %}{% endblock %}

                        {% endblock content_header %}

                        {% block main %}{% endblock %}

            {% endblock content %}

        {% endblock wrapper %}

    {% block body_javascript %}

    {% endblock body_javascript %}
    {% for js_asset in easyadmin_config('design.assets.js') %}

    {% endfor %}

{% endblock body %}


{% extends "MapbenderCoreBundle::frontend.html.twig" %}

{% block title %}{{ configuration.title }}{% endblock %}

{% block css %}
	{% for css in assets.css %}
	<link rel="stylesheet" type="text/css" href="{{ asset(css) }}" />
	{% endfor %}
{% endblock %}

{% block js %}
	{% for js in assets.js %}

	{% endfor %}
{% endblock %}

{% block content %}

{% for element in regions.top %}
	{{ element.render() | raw }}
{% endfor %}

{% for element in regions.content %}
	{{ element.render() | raw }}
{% endfor %}

{% endblock %}

Use assetic routes in Fullscreen template

{% extends "MapbenderCoreBundle::frontend.html.twig" %}

{% block title %}{{ configuration.title }}{% endblock %}

{% block css %}
	<link rel="stylesheet" type="text/css" href="{{ assets.css }}" />
{% endblock %}

{% block js %}

{% endblock %}

{% block content %}

{% for element in regions.top %}
	{{ element.render() | raw }}
{% endfor %}

{% for element in regions.content %}
	{{ element.render() | raw }}
{% endfor %}

{% endblock %}


{% use '../CommonAdmin/title.php.twig' %}
{% use '../CommonAdmin/ListTemplate/nbresults.php.twig' %}
{% use '../CommonAdmin/ListTemplate/thead.php.twig' %}
{% use '../CommonAdmin/ListTemplate/tbody.php.twig' %}
{% use '../CommonAdmin/ListTemplate/paginator.php.twig' %}
{% use '../CommonAdmin/ListTemplate/actions.php.twig' %}
{% use '../CommonAdmin/ListTemplate/filters.php.twig' %}
{% use '../CommonAdmin/ListTemplate/scopes.php.twig' %}

{{ echo_extends( builder.getBaseAdminTemplate ) }}

{{ echo_block("body") }}
    {{- block('title') -}}

        {{ block('list_scopes') -}}

        {{- block('list_nbresults') }}

            {{ block('list_thead') -}}
            {{- block('list_tbody') }}

        {{ block('list_paginator') -}}

        {{- block('list_actions') }}

                    {{ echo_trans('list.filters') }}

                        {{- block('list_filters') -}}

{{ echo_endblock() }}

Remove the filter table if the display is

{% use '../CommonAdmin/title.php.twig' %}
{% use '../CommonAdmin/ListTemplate/nbresults.php.twig' %}
{% use '../CommonAdmin/ListTemplate/thead.php.twig' %}
{% use '../CommonAdmin/ListTemplate/tbody.php.twig' %}
{% use '../CommonAdmin/ListTemplate/paginator.php.twig' %}
{% use '../CommonAdmin/ListTemplate/actions.php.twig' %}
{% use '../CommonAdmin/ListTemplate/filters.php.twig' %}
{% use '../CommonAdmin/ListTemplate/scopes.php.twig' %}

{{ echo_extends( builder.getBaseAdminTemplate ) }}

{{ echo_block("body") }}
    {{- block('title') -}}

        {{ block('list_scopes') -}}

        {{- block('list_nbresults') }}

            {{ block('list_thead') -}}
            {{- block('list_tbody') }}

        {{ block('list_paginator') -}}

        {{- block('list_actions') }}

    {% if builder.filters.display|length > 0 %}

                    {{ echo_trans('list.filters') }}

                        {{- block('list_filters') -}}

    {% endif %}
{{ echo_endblock() }}


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

{% block content %}

{{ pickSet.name }}

    {% if league is defined %}

Projected Finish Distributions

Based on our predicted games, this is your percentage chance of finishing in each place.

                {% include 'SofaChampsBowlPickemBundle:PickSet:_projected_finish_distribution.html.twig' %}

Projected Stats

Based on 10,000 scenarios, here are some projections for this pickset.

Click here for more information about how we generated our predictions.

                {% include 'SofaChampsBowlPickemBundle:PickSet:_projected_stats.html.twig' with {stats: projectedFinishStats} %}

    {% endif %}

    {% include 'SofaChampsBowlPickemBundle:PickSet:_view.html.twig' %}

Tiebreaker

FSU Score: {{ pickSet.tiebreakerHomeTeamScore }}

Auburn Score: {{ pickSet.tiebreakerAwayTeamScore }}

{% endblock %}

Fix styling on pick compare


Спонсоры

            {% if sponsors %}
                {% for sponsor in sponsors %}
                    {% if sponsor.logo %}

                            {# Если у спонсора есть сайт, то выводим картинку как ссылку #}
                            {% if sponsor.site %}

                            {# В другом случае - просто картинку #}
                            {% else %}

                            {% endif %}

                    {% else %}

                            {# Аналогичная проверка только без картинок, только текст #}
                            {% if sponsor.site %}
                                {{ sponsor.name }}
                            {% else %}
                                {{ sponsor.name }}
                            {% endif %}

                    {% endif %}
                {% endfor %}
            {% else %}

                Здесь может
 быть ваш логотип

            {% endif %}

Update sponsor widget to show always link "to become sponsor"

Спонсоры

            {% if sponsors %}
                {% for sponsor in sponsors %}
                    {% if sponsor.logo %}

                            {# Если у спонсора есть сайт, то выводим картинку как ссылку #}
                            {% if sponsor.site %}

                            {# В другом случае - просто картинку #}
                            {% else %}

                            {% endif %}

                    {% else %}

                            {# Аналогичная проверка только без картинок, только текст #}
                            {% if sponsor.site %}
                                {{ sponsor.name }}
                            {% else %}
                                {{ sponsor.name }}
                            {% endif %}

                    {% endif %}
                {% endfor %}
            {% endif %}

                Здесь может
 быть ваш логотип


{{ service.serviceName|lower }}:
    class: {{ service.className }}
{% if service.arguments|length > 0 %}
    arguments:
{% for argument in service.arguments %}
      - "{{ argument }}"
{% endfor %}
{% endif %}
{% if service.tags|length > 0 %}
    tags:
{% for tag in service.tags %}
      - { {% for key, value in tag -%}{{ key }}: {{ value }}{% if not loop.last %}, {% endif %}{% endfor %} }
{% endfor %}
{% endif %}

Update the template of the command handler configuration

{{ service.className }}:
{% if service.tags|length > 0 %}
    tags:
{% for tag in service.tags %}
      - { {% for key, value in tag -%}{{ key }}: {{ value }}{% if not loop.last %}, {% endif %}{% endfor %} }
{% endfor %}
{% endif %}


{% extends 'SimplyTestableWebClientBundle::App/single-page-dialog.html.twig' %}

{% block title %}Preparing results for {{website.utf8_schemeless}} (#{{test.testId}}) - {{ parent() }}{% endblock %}

{% block content %}

Preparing results … {{ completion_percent }}% done

    I'm gathering the results for test {{website.utf8}} (#{{test.testId}})

    Retrieved {{ local_task_count }} results of {{ remote_task_count }}

{% endblock %}

Fix test url in results preparing page

{% extends 'SimplyTestableWebClientBundle::App/single-page-dialog.html.twig' %}

{% block title %}Preparing results for {% include 'SimplyTestableWebClientBundle:Partials:/url/utf8-schemeless-possibly-truncated-64.html.twig' with {'url': website} %} (#{{test.testId}}) - {{ parent() }}{% endblock %}

{% block content %}

Preparing results … {{ completion_percent }}% done

    I'm gathering the results for test {% include 'SimplyTestableWebClientBundle:Partials:/url/utf8-raw-possibly-truncated-40.html.twig' with {'url': website} %} (#{{test.testId}})

    Retrieved {{ local_task_count }} results of {{ remote_task_count }}

{% endblock %}


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

{% block breadcrumb %}
    {% include '@SyliusShop/Account/Order/Index/_breadcrumb.html.twig' %}
{% endblock %}

{% block subcontent %}
    {% include '@SyliusShop/Account/Order/Index/_header.html.twig' %}

    {{ sonata_block_render_event('sylius.shop.account.order.index.after_content_header', {'orders': orders}) }}

    {{ sylius_grid_render(resources, '@SyliusUi/Grid/_default.html.twig') }}

    {{ sonata_block_render_event('sylius.shop.account.order.index.after_grid', {'orders': orders}) }}
{% endblock %}

Use SyliusShop's default grid template in order grid

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

{% block breadcrumb %}
    {% include '@SyliusShop/Account/Order/Index/_breadcrumb.html.twig' %}
{% endblock %}

{% block subcontent %}
    {% include '@SyliusShop/Account/Order/Index/_header.html.twig' %}

    {{ sonata_block_render_event('sylius.shop.account.order.index.after_content_header', {'orders': orders}) }}

    {{ sylius_grid_render(resources, '@SyliusShop/Grid/_default.html.twig') }}

    {{ sonata_block_render_event('sylius.shop.account.order.index.after_grid', {'orders': orders}) }}
{% endblock %}


{{ result.request.host }}
{{ result.request.path }}
{{ result.request.body }}
{{ result.response.body }}

Add all info on view page

Host: {{ result.request.host }}
Path: {{ result.request.path }}

{{ (result.request.time*1000)|number_format }}ms

Request

Headers

{% for key, values in result.request.headers %}
    {{ key }}: {% for value in values %}{{ value }}{% endfor %}

{% endfor %}

Body

{{ result.request.body }}

Response

Headers

{% for key, values in result.response.headers %}
    {{ key }}: {% for value in values %}{{ value }}{% endfor %}

{% endfor %}

Body

{{ result.response.body }}


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

{% block body %}

Tag a picture

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

        <input type="submit" class="btn btn-bg btn-primary" value="{% trans %}global.add{% endtrans %}"/>
        {% if is_granted("ROLE_ADMIN") %}
            Delete
        {% endif %}

    {{ form_end(form) }}

{% endblock %}

Add padding for tag buttons

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

{% block body %}

Tag a picture

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

        <input type="submit" class="btn btn-lg btn-bg btn-primary" value="{% trans %}global.add{% endtrans %}"/>
        {% if is_granted("ROLE_ADMIN") %}
            Delete
        {% endif %}

    {{ form_end(form) }}

{% endblock %}


<form class="form-search" method="GET">

        <input type="search" name="search" class="form-control input-sm" value="{{ search }}">

            <button class="btn btn-default btn-sm" type="submit">

            </button>

</form>

Add a link to reset form search

<form class="form-search" method="GET">

        <input type="search" name="search" class="form-control input-sm" value="{{ search }}">

            <button class="btn btn-default btn-sm" type="submit">

            </button>
            {% if search|length > 0 %}

                    reset

            {% endif %}

</form>


{% extends "ForexWebBundle:Layout:nosidebar.html.twig" %}

{% block title %}{{ broker.name }} - {% endblock %}
{% block meta_description %}Forex Rebates for {{ broker.name}}{% endblock %}

{% block content %}

{{ broker.name }}

{{ broker.highlight }}

Broker Information

            Regulations:
            {% for regulation in broker.regulations %}
                {{ regulation.regulator.abbr }}
            {% endfor %}

Minimum Deposit: {{ broker.minDeposit }}

Maximum Leverage: {{ broker.maxLeverage }}

Spreads: {{ broker.spread ?: 'Spread Link' }}

            Equity Holdings:
            {% for currency in broker.equityHoldingCurriencies %}
                {{ currency.abbr }}
            {% endfor %}

Year Founded: {{ broker.yearFounded }}

{% endblock %}

Remove external links on broker view page

{% extends "ForexWebBundle:Layout:nosidebar.html.twig" %}

{% block title %}{{ broker.name }} - {% endblock %}
{% block meta_description %}Forex Rebates for {{ broker.name}}{% endblock %}

{% block content %}

{{ broker.name }}

{{ broker.highlight }}

Broker Information

            Regulations:
            {% for regulation in broker.regulations %}
                {{ regulation.regulator.abbr }}
            {% endfor %}

Minimum Deposit: {{ broker.minDeposit }}

Maximum Leverage: {{ broker.maxLeverage }}

            Equity Holdings:
            {% for currency in broker.equityHoldingCurriencies %}
                {{ currency.abbr }}
            {% endfor %}

Year Founded: {{ broker.yearFounded }}

{% endblock %}


{% form_theme form 'SyliusWebBundle:Backend:filterForms.html.twig' %}

<form method="get" action="" class="form-inline form-filter">

        {{ form_row(form.number) }}
        {{ form_row(form.channel) }}

        {{ form_row(form.billingAddress) }}

        {{ form_row(form.createdAtFrom, {'attr': {'class': 'datepicker'}}) }}

        {{ form_row(form.createdAtTo, {'attr': {'class': 'datepicker'}}) }}

        <button type="submit" class="btn btn-primary"> {{ 'sylius.filter'|trans }}</button>
         {{ 'sylius.cancel'|trans }}

</form>

Fix filter form cancel route for backend payment


    {% for iso, locale in locales %}
        {% if app.request.get('slug') %}
            {% set newslug = get_slug_from_locale(record, iso) ?: record.slug %}
        {% endif %}

                {{ locale.label }}

    {% endfor %}

Fix localeswitcher for taxonomy routes

    {% for iso, locale in locales %}
        {% if app.request.get('slug') and app.request.get('_route') == 'contentlink' or app.request.get('_route') == 'pagebinding' %}
            {% set newslug = get_slug_from_locale(record, iso) ?: record.slug %}
        {% else %}
            {% set newslug = app.request.get('slug') %}
        {% endif %}

                 {{ locale.label }}

    {% endfor %}


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

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

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

		Proporciona este enlace público a los candidatos y candidatas para que se den de alta rellenando el formulario que les aparecerá:

    	Http://municipales2015.listabierta.org/elmunicipioregistrado/altacandidaturas

		Continuar

{% endblock %}

Update wigdets template for step 5

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

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

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

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

{{ form_errors(form) }}

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

{{ errors }}

	{% endif %}

		{{ 'candidacy.step5.explanation_link'|trans }}:

    	http://municipales2015.listabierta.org/elmunicipioregistrado/altacandidaturas

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

	{{ form_rest(form) }}

	{{ form_end(form) }}

{% endblock %}


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

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

{% block css %}
    {% stylesheets  output="css/all.css" filter="cssrewrite"
          "bundles/Chillmain/css/admin.css"
    %}
    <link rel="stylesheet" href="{{ asset_url }}"/>
    {% endstylesheets %}
 {% endblock css %}

{% block content %}

{{ page_title|trans }}

    {% for menu in menu_composer.getRoutesFor(menu) %}

{{ menu.label|trans }}

{{ menu.helper|trans|default('') }}

{{ menu.label|trans }}

    {% endfor %}

{% endblock %}

Debug stopping that Admin/index template require css/add.css

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

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

{% block content %}

{{ page_title|trans }}

    {% for menu in menu_composer.getRoutesFor(menu) %}

{{ menu.label|trans }}

{{ menu.helper|trans|default('') }}

{{ menu.label|trans }}

    {% endfor %}

{% endblock %}


Login
<form method="POST" action="{{ urlFor('user-login') }}">
    {% if error %}

Failed to log in.

    {% endif %}

        Username:
        <input type="text" class="form-control" name="username" autofocus="autofocus">

        Password:
        <input type="password" class="form-control" name="password">

        <input type="submit" class="btn btn-primary" value="Log in">
        <button class="btn btn-link" href="{{ urlFor('user-register') }}">or register now</button>

    <input type="hidden" name="redirect" value="{{ getCurrentUrl() }}">
</form>

Fix bug in FF where it scrolls to the bottom

Login
<form method="POST" action="{{ urlFor('user-login') }}">
    {% if error %}

Failed to log in.

    {% endif %}

        Username:
        <input type="text" class="form-control" name="username">

        Password:
        <input type="password" class="form-control" name="password">

        <input type="submit" class="btn btn-primary" value="Log in">
        <button class="btn btn-link" href="{{ urlFor('user-register') }}">or register now</button>

    <input type="hidden" name="redirect" value="{{ getCurrentUrl() }}">
</form>