templates/areas/info-row/view.html.twig line 1

Open in your IDE?
  1. {% set fix = fix is defined ? fix : false %}
  2. <div class="info-container{% if fix %} container{% endif %}">
  3.     <div class="row justify-content-center" style="padding-top: 40px!important;">
  4.         <div class="col-lg-3 info-box info-bordered info-box-fix">
  5.             {% if editmode %}
  6.                 {{ pimcore_input('title-1', {
  7.                     'placeholder': 'Cím 1',
  8.                     'class': 'info-box-edit-title'
  9.                 }) }}
  10.                 {{ pimcore_wysiwyg("box-1", {
  11.                     "height": 20,
  12.                     "placeholder": "Szöveg",
  13.                     "class": "article-edit-box"
  14.                 }) }}
  15.             {% else %}
  16.                 {% set title_1 = pimcore_input('title-1') %}
  17.                 {% set box_1 = pimcore_wysiwyg("box-1") %}
  18.                 {% if title_1 and title_1.getText() %}
  19.                     <h6>{{ title_1.render() | raw }}</h6>
  20.                 {% endif %}
  21.                 {% if box_1 and not box_1.isEmpty() %}
  22.                     {{ box_1.render() | raw }}
  23.                 {% endif %}
  24.             {% endif %}
  25.         </div>
  26.         <div class="col-lg-3 info-box info-bordered">
  27.             {% if editmode %}
  28.                 {{ pimcore_input('title-2', {
  29.                     'placeholder': 'Cím 2',
  30.                     'class': 'info-box-edit-title'
  31.                 }) }}
  32.                 {{ pimcore_wysiwyg("box-2", {
  33.                     "height": 20,
  34.                     "placeholder": "Szöveg",
  35.                     "class": "article-edit-box"
  36.                 }) }}
  37.             {% else %}
  38.                 {% set title_2 = pimcore_input('title-2') %}
  39.                 {% set box_2 = pimcore_wysiwyg("box-2") %}
  40.                 {% if title_2 and title_2.getText() %}
  41.                     <h6>{{ title_2.render() | raw }}</h6>
  42.                 {% endif %}
  43.                 {% if box_2 and not box_2.isEmpty() %}
  44.                     {{ box_2.render() | raw }}
  45.                 {% endif %}
  46.             {% endif %}
  47.         </div>
  48.         <div class="col-lg-3 info-box">
  49.             {% if editmode %}
  50.                 {{ pimcore_input('title-3', {
  51.                     'placeholder': 'Cím 3',
  52.                     'class': 'info-box-edit-title'
  53.                 }) }}
  54.                 {{ pimcore_wysiwyg("box-3", {
  55.                     "height": 20,
  56.                     "placeholder": "Szöveg",
  57.                     "class": "article-edit-box"
  58.                 }) }}
  59.             {% else %}
  60.                 {% set title_3 = pimcore_input('title-3') %}
  61.                 {% set box_3 = pimcore_wysiwyg("box-3") %}
  62.                 {% if title_3 and title_3.getText() %}
  63.                     <h6>{{ title_3.render() | raw }}</h6>
  64.                 {% endif %}
  65.                 {% if box_3 and not box_3.isEmpty() %}
  66.                     {{ box_3.render() | raw }}
  67.                 {% endif %}
  68.             {% endif %}
  69.         </div>
  70.     </div>
  71. </div>