owl / comment
A simple placeholder widget for OctoberCMS.
Installs: 360
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 3
Open Issues: 0
pkg:composer/owl/comment
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2021-09-27 11:55:32 UTC
README
A simple placeholder widget for OctoberCMS.
Installation
To install the Comment widget, add the following to your plugin's composer.json
file.
"require": { "owl/comment": "~1.0@dev" }
Next, register the widget in your plugin's Plugin.php
file.
public function registerFormWidgets() { return [ 'Owl\FormWidgets\Comment\Widget' => [ 'label' => 'Comment', 'code' => 'owl-comment' ], ]; }
Usage
The comment widget serves no form function, it exists solely to place extra text in your form.
comment: type: owl-comment label: Hello world comment: > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porttitor imperdiet elit, sed pellentesque eros. Morbi blandit elit a turpis pellentesque tincidunt.