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.
|
||||
|
||||
## Features
|
||||
@ -16,7 +18,6 @@ Ideally composer will be used to install this module.
|
||||
```composer require "moe/font-awesome:@stable"```
|
||||
|
||||
## Usage
|
||||
|
||||
A basic working example, and the following to any class you want the field on;
|
||||
|
||||
```php
|
||||
@ -42,4 +43,5 @@ Then simple include in the template
|
||||
<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
Block a user