mirror of
https://github.com/a2nt/silverstripe-font-awesome.git
synced 2024-10-22 17:05:51 +02:00
Updated readme details
This commit is contained in:
parent
447c2aba6d
commit
8119bc274f
@ -1,5 +1,7 @@
|
|||||||
## Synopsis
|
## Pillaged
|
||||||
|
Shamefully pillaged from https://github.com/thisisbd/silverstripe-fontawesome-iconpickerfield and lightly modified to better suit our environment and preferred coding style.
|
||||||
|
|
||||||
|
## Synopsis
|
||||||
A simple form field for selecting font-awesome classes in the CMS.
|
A simple form field for selecting font-awesome classes in the CMS.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
@ -16,7 +18,6 @@ Ideally composer will be used to install this module.
|
|||||||
```composer require "moe/font-awesome:@stable"```
|
```composer require "moe/font-awesome:@stable"```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
A basic working example, and the following to any class you want the field on;
|
A basic working example, and the following to any class you want the field on;
|
||||||
|
|
||||||
```php
|
```php
|
||||||
@ -43,3 +44,4 @@ Then simple include in the template
|
|||||||
```
|
```
|
||||||
|
|
||||||
Alternatively you can just use the font family via CSS.
|
Alternatively you can just use the font family via CSS.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user