Skip to content

Form field for creating anchor links easily. Beats using LiteralField.

License

Notifications You must be signed in to change notification settings

burnbright/silverstripe-anchorfield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SilverStripe Anchor Field

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")
    );

About

Form field for creating anchor links easily. Beats using LiteralField.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published