marshmallow/nova-placeholder
最新稳定版本:v1.1.0
Composer 安装命令:
composer require marshmallow/nova-placeholder
包简介
A placeholder field to just so some content on forms without any logic.
README 文档
README
Nova Placeholder field
This package adds a Placeholder field which you can use in Laravel Nova. This package only outputs some HTML in the forms of your resource. This is not a field to store any data, just to display some stuff.
Installation
You can install the package via composer:
composer require marshmallow/nova-placeholder
Usage
Just add the HTML you want to output in the resource to the content() method. Thats it!
use Marshmallow\Placeholder\Placeholder; Placeholder::make(__('Planning')) ->content('Deze lead is planned to be completed on august 1. This will be done by <strong>John Doe</strong>.<br/><a href="">Click here</a> to view the full construction planning.'), Placeholder::make(__('Planning')) ->view('components.planning', [ 'lead' => $lead, ]),
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email stef@marshmallow.dev instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 1.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-09
