Sha256: 1c1edddf491d327e2832bc9b936c0d7d68660687c868e843de25287731c5e81d
Contents?: true
Size: 319 Bytes
Versions: 36
Compression:
Stored size: 319 Bytes
Contents
module PushType module AdminHelper def title(page_title) content_for :title, page_title.to_s end def ficon(kind, label = nil, opts = {}) opts.merge! class: 'fi-' + kind.to_s.gsub(/_/, '-') el = content_tag :i, nil, opts [el, label].compact.join(' ').html_safe end end end
Version data entries
36 entries across 36 versions & 1 rubygems