@if(count($submodule) > 0)
    @foreach($submodule as $module)
        <div class="col-md-3 col-xs-6">
            <a href="{{ url($route.'/'.$module->slug) }}" class="d-block">
                <div class="databox databox-lg databox-vertical databox-inverted bg-white databox-shadowed databox-portrait">
                    <div class="databox-top">
                        <i class="{{ $module->icon }} portada_zmdi"></i>
                    </div>
                    <div class="databox-bottom no-padding text-align-center">
                        <span class="databox-text lightcarbon no-margin">{{ $module->name }}</span>
                    </div>
                </div>
            </a>
        </div>
    @endforeach
@endif()