{* {$reassurances|var_dump} *}
{if count($reassurances) > 0}
    {assign var="nbColRea" value=12/count($reassurances)}
    {assign var="nbColReaX2" value=(12/count($reassurances))*2}

    {if count($reassurances) == 5}
        {assign var="nbColRea" value=2}
        {assign var="nbColReaX2" value=4}
    {/if}
<div class="row rea-bar">
    {foreach from=$reassurances item=reassurance}
        <div class="col-xs-6 col-sm-{$nbColReaX2} col-md-{$nbColRea} rea-items">
            <div class="rea-item">
                <img src="{$reassurance->image}" alt="{$reassurance->title}">
                <div class="rea-text">
                    <a href="{$reassurance->url}">
                        <p>{$reassurance->title}</p>
                        <small>{$reassurance->sub_title}</small>
                    </a>
                </div>
            </div>                
        </div>
    {/foreach}
</div>
{/if}

