{% extends 'Omelo/Templates/base.html.twig' %}
{% block template %}
{% if hideEdit is not defined %}
<input type="hidden" id="_enableEditTemplate" value="true">
<input type="hidden" id="_templateId" value="{{page.id}}">
{% endif %}
<!--Category section-->
<div class="category row mb-rem templateDiv" style="width: 100vw;">
<!--Category section header-->
<div id="template-custom" class="fullwidth">
{% if (data.custom is defined and data.custom is not empty )or data.content is not empty%}
{% if data.custom is not empty %}
{{data.custom|raw}}
{% else %}
{{data.content|raw}}
{% endif %}
{% else %}
<div class="row nopadding template-rows" id="template_row_0" data-width='100'>
<div class="col-md-12">
<div data-editable data-name="custom_col_0">
<p>Votre texte</p>
</div>
</div>
</div>
{%endif%}
</div>
</div>
{% endblock %}