Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
vendor/assets
.gitignore
Gemfile
LICENSE
README.md
Rakefile
stateface-rails.gemspec

README.md

Stateface::Rails

In application.css

*= require propublica/stateface

In your views

<p class='propublica-stateface'><%= 'ma'.to_stateface %></p>

will map a state abbreviation (CA, HI, MA, etc) to the corresponding letter StateFace uses.

Or create a span tag with the class for an abbreviation.

<%= stateface_tag('ma') %>

or use font-face: StateFace however you'd like

Something went wrong with that request. Please try again.