{% set fix = fix is defined ? fix : false %}
<div class="info-container{% if fix %} container{% endif %}">
<div class="row justify-content-center" style="padding-top: 40px!important;">
<div class="col-lg-3 info-box info-bordered info-box-fix">
{% if editmode %}
{{ pimcore_input('title-1', {
'placeholder': 'Cím 1',
'class': 'info-box-edit-title'
}) }}
{{ pimcore_wysiwyg("box-1", {
"height": 20,
"placeholder": "Szöveg",
"class": "article-edit-box"
}) }}
{% else %}
{% set title_1 = pimcore_input('title-1') %}
{% set box_1 = pimcore_wysiwyg("box-1") %}
{% if title_1 and title_1.getText() %}
<h6>{{ title_1.render() | raw }}</h6>
{% endif %}
{% if box_1 and not box_1.isEmpty() %}
{{ box_1.render() | raw }}
{% endif %}
{% endif %}
</div>
<div class="col-lg-3 info-box info-bordered">
{% if editmode %}
{{ pimcore_input('title-2', {
'placeholder': 'Cím 2',
'class': 'info-box-edit-title'
}) }}
{{ pimcore_wysiwyg("box-2", {
"height": 20,
"placeholder": "Szöveg",
"class": "article-edit-box"
}) }}
{% else %}
{% set title_2 = pimcore_input('title-2') %}
{% set box_2 = pimcore_wysiwyg("box-2") %}
{% if title_2 and title_2.getText() %}
<h6>{{ title_2.render() | raw }}</h6>
{% endif %}
{% if box_2 and not box_2.isEmpty() %}
{{ box_2.render() | raw }}
{% endif %}
{% endif %}
</div>
<div class="col-lg-3 info-box">
{% if editmode %}
{{ pimcore_input('title-3', {
'placeholder': 'Cím 3',
'class': 'info-box-edit-title'
}) }}
{{ pimcore_wysiwyg("box-3", {
"height": 20,
"placeholder": "Szöveg",
"class": "article-edit-box"
}) }}
{% else %}
{% set title_3 = pimcore_input('title-3') %}
{% set box_3 = pimcore_wysiwyg("box-3") %}
{% if title_3 and title_3.getText() %}
<h6>{{ title_3.render() | raw }}</h6>
{% endif %}
{% if box_3 and not box_3.isEmpty() %}
{{ box_3.render() | raw }}
{% endif %}
{% endif %}
</div>
</div>
</div>