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
|
||||||
|
@ -42,4 +43,5 @@ Then simple include in the template
|
||||||
<i class="fa $Icon"></i>
|
<i class="fa $Icon"></i>
|
||||||
```
|
```
|
||||||
|
|
||||||
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