Fetch Blocks

Fetch Blocks

<h3>Blocks</h3>
<table class="table mb-4">
<?php foreach ($listing->mappedBlocks() as $block): ?>
<tr>
<td><?= $block->title ?></td>
<td>
<a
href="<?= route()->url('frontend.listings.blocks.show', ['listingId' => $listing->id, 'blockId' => $block->id]) ?>">
Read More &raquo;
</a>
</td>
</tr>
<?php endforeach; ?>
</table>
#
#
#

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.