burnbright / silverstripe-anchorfield
Form field for creating anchor links easily. Beats using LiteralField.
Installs: 2 338
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 3
Type:silverstripe-module
Requires
- silverstripe/framework: ~3.1
This package is auto-updated.
Last update: 2024-11-24 19:53:15 UTC
README
Create anchor easily within form fields or actions lists.
The AnchorField.ss
template can be overridden for easy styling / customisation, which is particularly useful for making links look like buttons.
Example Usage
$actions = new FieldList( new AnchorField("cancel", "Cancel", $this->Link()), new FormAction("submit", "Submit") );