osb/resources/theme/frontend/metronic/widgets/steps.blade.php
2017-12-05 11:03:03 +11:00

16 lines
440 B
PHP

<!-- BEGIN STEPS -->
<div class="row margin-bottom-40 front-steps-wrapper front-steps-count-3">
{{-- Dynamically count the steps and choose the appropriate col-md-x --}}
@php($c=0)
@foreach ($page_steps as $o)
<div class="col-md-4 col-sm-4 front-step-col">
<div class="front-step front-step{{ ++$c }}">
<h2>{{ $o['title'] }}</h2>
<p>{{ $o['description'] }}</p>
<br>
</div>
</div>
@endforeach
</div>
<!-- END STEPS -->