master

laravel/framework

Last updated at: 29/12/2023 09:21

line.php

TLDR

This file is a PHP template that generates a styled line component with a title and content.

Classes

There are no classes in this file.

Methods

There are no methods in this file.

<div class="mx-2 mb-1 mt-<?php echo $marginTop ?>">
    <span class="px-1 bg-<?php echo $bgColor ?> text-<?php echo $fgColor ?> uppercase"><?php echo $title ?></span>
    <span class="<?php if ($title) {
        echo 'ml-1';
    } ?>">
        <?php echo htmlspecialchars($content) ?>
    </span>
</div>