17 lines
422 B
PHP
17 lines
422 B
PHP
@foreach($ocbContents as $ocbContent)
|
|
<section class="content">
|
|
@if(!($loop->index%2))
|
|
<figure>
|
|
<img src="{{ $ocbContent->picture }}" alt="{{ __('OCB image') }}">
|
|
</figure>
|
|
@endif
|
|
<div>
|
|
{!! $ocbContent->content !!}
|
|
</div>
|
|
@if($loop->index%2)
|
|
<figure>
|
|
<img src="{{ $ocbContent->picture }}" alt="{{ __('OCB image') }}">
|
|
</figure>
|
|
@endif
|
|
</section>
|
|
@endforeach
|