Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helper#icon prepends fa- to given fa class string #106

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 12, 2015

  1. Helper#icon prepends fa- to given fa class string

    ex: icon('flag 2x') rather than icon('flag', class: 'fa-2x')
    nnattawat committed Nov 12, 2015
    Configuration menu
    Copy the full SHA
    2132ef6 View commit details
    Browse the repository at this point in the history
  2. Helper#icon prepends fa- to multiple classes, to get <i class='fa fa-…

    …flag fa-2x'> now we can do:
    
    - icon('flag 2x')
    - icon([:flag, '2x'])
    nnattawat committed Nov 12, 2015
    Configuration menu
    Copy the full SHA
    825bbac View commit details
    Browse the repository at this point in the history