module ActionView::Helpers

Public Instance Methods

furatto_alert(options = {}, &block) click to toggle source
# File lib/furatto_rails_helpers/furatto_helpers.rb, line 13
def furatto_alert(options = {}, &block)
  content_tag :div, class: "alert #{options[:variation]}" do
    capture(&block)
  end
end
navigation_bar(options = {}, &block) click to toggle source
off_screen(options = {}, &block) click to toggle source
# File lib/furatto_rails_helpers/furatto_helpers.rb, line 9
def off_screen(options = {}, &block)
  content_tag :div, capture(&block), class: 'off-screen', id: 'off-screen'
end