ngiraud/nova-header-field
最新稳定版本:1.0.1
Composer 安装命令:
composer require ngiraud/nova-header-field
包简介
Simple field to add a header to separate panels in the form.
README 文档
README
Simple field to add a header to separate panels in the form.
Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require ngiraud/nova-header-field
Usage
Add the field to your Nova resource fields method :
public function fields(Request $request) { return [ (new Panel(__('General'), [ FormHeader::make(__('General')), Text::make(__('Firstname'), 'firstname'), Text::make(__('Lastname'), 'lastname'), Text::make(__('Email'), 'email'), ... ]))->withToolbar(), new Panel(__('Address'), [ FormHeader::make(__('Address')), Text::make(__('Address 1'), 'address_1'), Text::make(__('Address 2'), 'address_2'), Text::make(__('Postal Code'), 'postal_code'), Text::make(__('City'), 'city'), Text::make(__('Country'), 'country'), ... ]), ]; }
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security
If you discover any security related issues, please email contact@ngiraud.me instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 20.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-15
