Sha256: 5c28963bd23442d5e4e2fe6c47ac63e7321634d7b5412ecc3e5f82a0000f542f
Contents?: true
Size: 511 Bytes
Versions: 13
Compression:
Stored size: 511 Bytes
Contents
require 'action_view/helpers' module ActionView module Helpers def navigation_bar(options = {}, &block) content_tag options[:tag] || :nav, capture(&block), class: "navigation-bar #{options[:class]}" end def off_screen(options = {}, &block) content_tag :div, capture(&block), class: 'off-screen', id: 'off-screen' end def furatto_alert(options = {}, &block) content_tag :div, class: "alert #{options[:variation]}" do capture(&block) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems