src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_template-1.html.twig line 1

Open in your IDE?
  1. {% from '@openform_front_templates/_includes/_icons.html.twig' import arrowObjectPrev, arrowObjectNext, fullscreen, zoomout, zoomin, copyrights, info, infoClose %}
  2. {% set ImageSlides = entity.ImageSlide|filterVisibles(app.request.locale) %}
  3. <section class="object {{entity.isInvertedTemplate is defined and entity.isInvertedTemplate ? 'object--inverted'}} object--{{entity.templateId}} js-section js-collections" style="{{entity.background ? 'background-color: ' ~ entity.background }}"> 
  4. {# ---------------------------nav---------------------- #}
  5.     <div class="object__nav container" style="{% if entity.naviBackgroundColor %}background-color: {{entity.naviBackgroundColor}};{% endif %}">
  6.         {% for key, Antique in entity.AntiqueSuit.getVisibleAntiques(app.request.locale) %}
  7.             {% if entity.id == Antique.id  %}
  8.                 {% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] is defined %}
  9.                     {% set prevElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] %}
  10.                     {% set href = toolkit_route_localizer.generate('antique_item',{ slug : prevElement.Translation[app.request.locale].slug }, app.request.locale) %}
  11.                     <a href="{{href}}" class="object__nav__button">{{arrowObjectPrev(('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale))}}{{ ('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale) }}</a>
  12.                 {% else %}
  13.                     <div>
  14.                     </div>
  15.                 {% endif%}
  16.                 {% set href = toolkit_route_localizer.generate('antique_suit_item', {
  17.                     'slug': entity.AntiqueSuit.Translation[app.request.locale].slug
  18.                     }, app.request.locale) %} 
  19.                 <a href="{{href}}" class="object__nav__title">{{ entity.AntiqueSuit.Translation[app.request.locale].title }}</a>
  20.                 {% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
  21.                     {% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
  22.                     {% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
  23.                     <a href="{{href}}" class="object__nav__button">{{ ('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale) }}{{arrowObjectNext(('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale))}}</a>
  24.                 {% else %}
  25.                     <div>
  26.                     </div>
  27.                 {% endif %}
  28.             {% endif %}
  29.         {% endfor %}    
  30.     </div>
  31. {# ---------------------------top---------------------- #}
  32.     <div class="object__section container" style="{{entity.textAreaWidth is same as(0) ? "display:flex; justify-content: center;"}} {{entity.textAreaWidth is same as(0) ? 'background-color:' ~ entity.imageBackgroundColor|default('#F8F7F0') ~ ';'}} grid-template-columns: {{ entity.isInvertedTemplate is defined and entity.isInvertedTemplate ? entity.textAreaWidth is same as(0) ? "0% 100%" : (entity.textAreaWidth ? 'calc(' ~ entity.textAreaWidth ~ '% - 39px) calc(100% - ' ~ entity.textAreaWidth ~ '%)' : 'calc(52% - 39px) 48%') : entity.textAreaWidth is same as(0) ? "100% 0%" : (entity.textAreaWidth ? 'calc(100% - ' ~ entity.textAreaWidth ~ '%) calc(' ~ entity.textAreaWidth ~ '% - 39px)' : '48% calc(52% - 39px)')}} ">
  33.     
  34.         <div class="object__item" style="{{entity.textAreaWidth is same as(100) ? 'overflow: hidden;'}} {{entity.textAreaWidth is same as(0) ? 'width:100%;'}}">
  35.             {% if ImageSlides|length > 0  %}
  36.                 <div class="object__item__bg" style="background-color: {{entity.imageBackgroundColor|default('#F8F7F0')}}; {{entity.textAreaWidth is same as(0) ? 'width: calc(100% + 24vw); left: -12vw; '}}"></div>
  37.                 <div class="splide js-splide-slider" aria-label="{{"T_SLIDER_SPLIDE"|trans({}, "openform_front", app.request.locale)}}" style="height: {{entity.imageHeight ? entity.imageHeight + 91 : '560'}}px;">
  38.                     <div class="splide__track" style="height: 100%;">
  39.                         <ul class="splide__list" style="height: 80%;">
  40.                             {% for key, image in ImageSlides %}
  41.                             
  42.                             
  43.                                 <li class="splide__slide" style="height: 100%;">  
  44.                                     
  45.                                         
  46.                                     {% set img = openform_front_util.getImagePathByType(image.Thumb ?? '','original') %}
  47.                                     {# {% set imgSmall = openform_front_util.getImagePathByType(image.Thumb ?? '','detal') %} #}
  48.                                     <div class="js-zoom" data-alt="{{image.Translation[app.request.locale].alt}}" style="height: {{entity.imageHeight ? entity.imageHeight ~ 'px' : '100%'}};">
  49.                                         <div style="width:100%; height: {{entity.imageHeight ? entity.imageHeight ~ 'px' : '90%'}};;
  50.                                                 ">
  51.                                                 <div style="width:100%; height:100%; display:flex; justify-content: center; align-items: center;">
  52.                                                 <div class="collection-gallery__item" style="
  53.                                                 {{entity.imageWidthPercent ? 'width:' ~ entity.imageWidthPercent ~ '%;' : 'width: 100%;'}}
  54.                                                 max-height: 100%; height:100%;" >
  55.                                                 <style>
  56.                                                     .my-zoomist-{{key}} img{
  57.                                                         {% if image.imageBorderColor and image.imageBorderWidth %}border: {{image.imageBorderColor}} solid {{image.imageBorderWidth}}px;{% endif %}"
  58.                                                     }
  59.                                                     .my-zoomist-{{key}} .zoomist-wrapper{
  60.                                                         background:{{image.imageBackgroundColor ? image.imageBackgroundColor : entity.imageBackgroundColor ? entity.imageBackgroundColor : '#F8F7F0' }};
  61.                                                     }
  62.                                                  </style>
  63.                                                     <div class="my-zoomist my-zoomist-{{key}}" style="{% if entity.imageHeight %} height: {{entity.imageHeight}}px;{% endif %}" data-zoomist-src="{{img}}" tabindex="0"></div>
  64.                                                 </div>
  65.                                                 </div>
  66.                                                 <div class="collection-gallery__wrap">
  67.                                                     {# <div class="collection-gallery__content block__text">
  68.                                                         {{image.Translation[app.request.locale].text|raw}}
  69.                                                     </div> #}
  70.                                                     <div class="collection-gallery__buttons">
  71.                                                         {% if image.Translation[app.request.locale].text is defined and image.Translation[app.request.locale].text %}
  72.                                                             <div class="object__info-wrap">
  73.                                                                 <button class="collection-gallery__buttons__btn" type="button" aria-expanded="false" data-expanded="js-info-{{key}}" tabindex="0">{{info(('T_INFO')|trans({}, 'openform_front', app.request.locale))}}</button>
  74.                                                                 <div class="object__info object__info--info js-info-{{key}}" data-lenis-prevent>
  75.                                                                     <div class="object__info__text block__text">{{image.Translation[app.request.locale].text|raw}}</div>
  76.                                                                     <button class="object__info__close js-expanded-close" type="button">{{infoClose()}}</button>
  77.                                                                 </div>
  78.                                                             </div>
  79.                                                         {% endif %}
  80.                                                         {% if image.Translation[app.request.locale].copyrights %}
  81.                                                             <div class="object__info-wrap">
  82.                                                                 <button class="collection-gallery__buttons__btn" type="button" aria-expanded="false" data-expanded="js-copyright-{{key}}" tabindex="0">{{copyrights(('T_INFO')|trans({}, 'openform_front', app.request.locale))}}</button>
  83.                                                                 <div class="object__info object__info--copyright js-copyright-{{key}}" data-lenis-prevent>
  84.                                                                     <div class="object__info__text block__text">{{image.Translation[app.request.locale].copyrights|raw}}</div>
  85.                                                                     <button class="object__info__close js-expanded-close" type="button">{{infoClose()}}</button>
  86.                                                                 </div>
  87.                                                             </div>
  88.                                                         {% endif %}
  89.                                                         <button class="collection-gallery__buttons__btn js-fullscreen" data-alt="{{image.Translation[app.request.locale].alt}}" tabindex="0" data-color="{{entity.imageBackgroundColor is defined and entity.imageBackgroundColor ? entity.imageBackgroundColor }}"
  90.                                                             data-image="{{img}}"
  91.                                                             data-description="{{image.Translation[app.request.locale].text}}"
  92.                                                             data-copyrights="{{image.Translation[app.request.locale].copyrights}}"
  93.                                                             data-start="{{key}}"
  94.                                                             data-imagestyle="{% if image.imageBorderColor and image.imageBorderWidth %}border: {{image.imageBorderColor}} solid {{image.imageBorderWidth}}px;{% endif %}"
  95.                                                             tabindex="0"
  96.                                                         >
  97.                                                             {{fullscreen(('T_FULLSCREEN')|trans({}, 'openform_front', app.request.locale))}}
  98.                                                         </button>
  99.                                                         <button class="collection-gallery__buttons__btn js-zoom-out" tabindex="0">{{zoomout(('T_ZOOMOUT')|trans({}, 'openform_front', app.request.locale))}}</button>
  100.                                                         <button class="collection-gallery__buttons__btn js-zoom-in" tabindex="0">{{zoomin(('T_ZOOMIN')|trans({}, 'openform_front', app.request.locale))}}</button>
  101.                                                     </div>
  102.                                                 </div>
  103.                                         </div>
  104.                                     </div>
  105.                                 </li>
  106.                             {% endfor %}            
  107.                         </ul>
  108.                         <div class="object__splide-nav">
  109.                             {{ include('@openform_front_templates/_includes/_slider-nav.html.twig') }}   
  110.                         </div>
  111.                     </div>
  112.                 </div>
  113.             
  114.             {% endif %}
  115.         </div>
  116.         {# ---------------------------------top-text----------------------------- #}
  117.         {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  118.         
  119.         <div class="object__item" style="{{entity.textAreaWidth is same as(0) ? 'display: none;'}} padding-bottom:60px; overflow-y: auto; overflow-x: hidden;" data-lenis-prevent>
  120.             <div class="object__item__title">{{ entity.Translation[app.request.locale].titleHtml|raw }}</div>
  121.             <div class="object__item__section">
  122.                
  123.                 {% if entity.Artist|length > 0 %}
  124.                     <div class="object__item-wrap object__item-wrap--author">
  125.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_AUTHOR')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  126.                         <div class="object__item-wrap__text">
  127.                             {% for artist in entity.Artist %}
  128.                                 <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?artist={{ artist.fullName }}">
  129.                                     {{artist.fullName ? artist.fullName }}
  130.                                 </a>{{entity.Artist|length > 1 ? ', '}}
  131.                             {% endfor %}
  132.                         </div>
  133.                     </div>
  134.                 {% endif %}
  135.                 {% if (entity.date or entity.dateTo or entity.age or  entity.ageTo or entity.year or entity.yearTo) %}
  136.                     <div class="object__item-wrap">
  137.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_DATE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  138.                         <div class="object__item-wrap__text">
  139.                             {% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_dates_and_ages.html.twig') with {
  140.                                 'dateFrom': entity.date, 
  141.                                 'dateTo': entity.dateTo,
  142.                                 'ageFrom': entity.age, 
  143.                                 'ageTo': entity.ageTo,
  144.                                 'yearFrom': entity.year ?? entity.shownObjectYear, 
  145.                                 'yearTo': entity.yearTo ?? entity.shownObjectAge,
  146.                             } %}
  147.                         </div>
  148.                     </div>
  149.                 {% endif %}
  150.                 {% if entity.AntiqueType|length > 0 %}
  151.                     <div class="object__item-wrap">
  152.                         <h3 class="object__item-wrap__title">{{('T_OBJECT_TYPE')|trans({}, 'openform_front', app.request.locale) ~ ': ' }}</h3>
  153.                         <div class="object__item-wrap__text">
  154.                             {% for key, item in entity.AntiqueType %}
  155.                                 <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueType={{ item.Translation[app.request.locale].title }}">
  156.                                     {{ item.Translation[app.request.locale].title }}
  157.                                 </a>{% if not loop.last %}, {% endif %}
  158.                             {% endfor %}
  159.                         </div>
  160.                     </div>
  161.                 {% endif %}
  162.                 {% if entity.AntiqueTechnique|length > 0 %}
  163.                     <div class="object__item-wrap">
  164.                         <h3 class="object__item-wrap__title">{{('T_MATERIALS_AND_TECHNIQUES')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  165.                         <div class="object__item-wrap__text">
  166.                             {% for item in entity.AntiqueTechnique %}
  167.                                 <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueTechnique={{ item.Translation[app.request.locale].title }}">
  168.                                     {{item.Translation[app.request.locale].title ? item.Translation[app.request.locale].title}}
  169.                                 </a>{% if not loop.last %}, {% endif %}
  170.                             {% endfor %}
  171.                         </div>
  172.                     </div>
  173.                 {% endif %}
  174.                 {% if entity.Translation[app.request.locale].text %}
  175.                     <div class="object__item-wrap object__item-wrap--description object__item-wrap--description-master js-text-dropdown" data-limit="6" data-lineHeight="22">
  176.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_DESCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  177.                         <div class="object__item-wrap__text">
  178.                         <span class="js-text-dropdown-content">{{entity.Translation[app.request.locale].text|raw}}</span> <button class="js-text-dropdown-btn hide"><span>{{('T_TEXT_SHOW_MORE')|trans({}, 'openform_front', app.request.locale) }} ▼</span><span>{{('T_TEXT_SHOW_LESS')|trans({}, 'openform_front', app.request.locale) }} ▲</span></button>
  179.                             
  180.                         </div>
  181.                     </div>
  182.                 {% endif %}
  183.                 {% if entity.AntiqueCopyrights|length > 0 %}
  184.                     <div class="object__item-wrap">
  185.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  186.                         <div class="object__item-wrap__text object__item-wrap__copyright">
  187.                             {% for key, item in entity.AntiqueCopyrights %}
  188.                                 <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueCopyrights={{ item.Translation[app.request.locale].title }}">
  189.                                     {{ item.Translation[app.request.locale].title }}
  190.                                 </a>{% if not loop.last %}, {% endif %}
  191.                             {% endfor %}
  192.                         </div>
  193.                     </div>
  194.                 {% endif %}
  195.                             
  196.             </div>
  197.             
  198.         </div>
  199.         {% else %}
  200.             
  201.         {# ------------------------Archive--------------------------- #}
  202.         <div class="object__item" style="{{entity.textAreaWidth is same as(0) ? 'display: none;'}}">
  203.             <div class="object__item__title">{{ entity.Translation[app.request.locale].titleHtml|raw }}</div>
  204.             <div class="object__item__section">
  205.                 {% if entity.Translation[app.request.locale].descPlace %}
  206.                     <div class="object__item-wrap">
  207.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_PLACE_DESC')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  208.                         <div class="object__item-wrap__text">
  209.                             {{entity.Translation[app.request.locale].descPlace}}
  210.                         </div>
  211.                     </div>
  212.                 {% endif %}
  213.                 {% if entity.AntiquePlace %}
  214.                     <div class="object__item-wrap">
  215.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_OBJECT_PLACE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  216.                         <div class="object__item-wrap__text">
  217.                             {{entity.AntiquePlace.Translation[app.request.locale].title}}
  218.                         </div>
  219.                     </div>
  220.                 {% endif %}
  221.                 {% if entity.documentDate or entity.documentAge or entity.documentYear %}
  222.                     <div class="object__item-wrap">
  223.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_DOCUMENT_DATE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  224.                         <div class="object__item-wrap__text">
  225.                             {% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age_search.html.twig') with {
  226.                                 'date': entity.documentDate,
  227.                                 'age': entity.documentAge,
  228.                                 'year': entity.documentYear,
  229.                             } %}
  230.                         </div>
  231.                     </div>
  232.                 {% endif %}
  233.                 {% if entity.Artist|length > 0 %}
  234.                     <div class="object__item-wrap">
  235.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_AUTHOR_OF_THE_PHOTOGRAPH_OR_DOCUMENT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  236.                         <div class="object__item-wrap__text">
  237.                             {% for artist in entity.Artist %}
  238.                                 <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?artist={{ artist.fullName }}">
  239.                                     {{artist.fullName ? artist.fullName }} {{ artist.authorNickName ? '"' ~ artist.authorNickName ~ '"'}}
  240.                                 </a>{{entity.Artist|length > 1 ? ', '}}
  241.                             {% endfor %}
  242.                         </div>
  243.                     </div>
  244.                 {% endif %}
  245.                 {% if entity.AntiqueType|length > 0 %}
  246.                     <div class="object__item-wrap">
  247.                         <h3 class="object__item-wrap__title">{{('T_OBJECT_TYPE')|trans({}, 'openform_front', app.request.locale) ~ ': ' }}</h3>
  248.                         <div class="object__item-wrap__text">
  249.                             {% for key, item in entity.AntiqueType %}
  250.                                 <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueType={{ item.Translation[app.request.locale].title }}">
  251.                                     {{ item.Translation[app.request.locale].title }}
  252.                                 </a>{% if not loop.last %}, {% endif %}
  253.                             {% endfor %}
  254.                         </div>
  255.                     </div>
  256.                 {% endif %}
  257.                 {% if entity.AntiqueTechnique|length > 0 %}
  258.                     <div class="object__item-wrap">
  259.                         <h3 class="object__item-wrap__title">{{('T_MATERIALS_AND_TECHNIQUES')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  260.                         <div class="object__item-wrap__text">
  261.                             {% for item in entity.AntiqueTechnique %}
  262.                                 <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueTechnique={{ item.Translation[app.request.locale].title }}">
  263.                                     {{item.Translation[app.request.locale].title ? item.Translation[app.request.locale].title}}
  264.                                 </a>{% if not loop.last %}, {% endif %}
  265.                             {% endfor %}
  266.                         </div>
  267.                     </div>
  268.                 {% endif %}
  269.                 {% if entity.Translation[app.request.locale].text %}
  270.                     <div class="object__item-wrap object__item-wrap--description object__item-wrap--description-master js-text-dropdown" data-limit="6" data-lineHeight="22">
  271.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_DESCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  272.                         <div class="object__item-wrap__text">
  273.                         <span class="js-text-dropdown-content">{{entity.Translation[app.request.locale].text|raw}}</span> <button class="js-text-dropdown-btn hide"><span>{{('T_TEXT_SHOW_MORE')|trans({}, 'openform_front', app.request.locale) }} ▼</span><span>{{('T_TEXT_SHOW_LESS')|trans({}, 'openform_front', app.request.locale) }} ▲</span></button>
  274.                             
  275.                         </div>
  276.                     </div>
  277.                 {% endif %}
  278.                 {% if entity.AntiqueCopyrights|length > 0 %}
  279.                     <div class="object__item-wrap">
  280.                         <h3 class="object__item-wrap__title">{{('T_ANTIQUE_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  281.                         <div class="object__item-wrap__text object__item-wrap__copyright">
  282.                             {% for key, item in entity.AntiqueCopyrights %}
  283.                                 <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueCopyrights={{ item.Translation[app.request.locale].title }}">
  284.                                     {{ item.Translation[app.request.locale].title }}
  285.                                 </a>{% if not loop.last %}, {% endif %}
  286.                             {% endfor %}
  287.                         </div>
  288.                     </div>
  289.                 {% endif %}
  290.                             
  291.             </div>
  292.             
  293.         </div>
  294.         {% endif %}
  295.         
  296.     </div>
  297.     <div class="container" style="{{entity.background2 ? 'background-color: ' ~ entity.background2 }}">
  298.         {% include '@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig' with {design: entity.colsDesign} %}
  299.         {% include "@openform_front_templates/_blocks_sections/block.html.twig" with { sections: openform_front_util.getSections(entity) } %}
  300.     </div>
  301.     
  302.     
  303.     
  304.     <div class="object__nav container" style="{% if entity.naviBackgroundColor %}background-color: {{entity.naviBackgroundColor}};{% endif %}">
  305.         {% for key, Antique in entity.AntiqueSuit.getVisibleAntiques(app.request.locale) %}
  306.             {% if entity.id == Antique.id  %}
  307.                 {% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] is defined %}
  308.                     {% set prevElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] %}
  309.                     {% set href = toolkit_route_localizer.generate('antique_item',{ slug : prevElement.Translation[app.request.locale].slug }, app.request.locale) %}
  310.                     <a href="{{href}}" class="object__nav__button">{{arrowObjectPrev(('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale))}}{{ ('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale) }}</a>
  311.                 {% endif%}
  312.                 {% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
  313.                     {% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
  314.                     {% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
  315.                     <a href="{{href}}" class="object__nav__button object__nav__button--next">{{ ('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale) }}{{arrowObjectNext(('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale))}}</a>
  316.                 {% endif%}
  317.             {% endif %}
  318.         {% endfor %}    
  319.     </div>
  320.     
  321. </section>