Module: Foundation::Rails::Helpers::FoundationRailsHelpersApplicationHelper

Defined in:
app/helpers/foundation/rails/helpers/foundation_rails_helpers_application_helper.rb

Instance Method Summary collapse

Instance Method Details

#foundation_alert(**options, &block) ⇒ Object

Generates a Foundation Alert

foundation.zurb.com/docs/components/alerts.html

Returns

Foundation::Rails::Helpers::Alert


28
29
30
# File 'app/helpers/foundation/rails/helpers/foundation_rails_helpers_application_helper.rb', line 28

def foundation_alert(**options, &block)
  Foundation::Rails::Helpers::Alert.new(**options, &block)
end

#foundation_panel(**options, &block) ⇒ Object

Generates a Foundation Panel

foundation.zurb.com/docs/components/panels.html

Returns

Foundation::Rails::Helpers::Panel


15
16
17
# File 'app/helpers/foundation/rails/helpers/foundation_rails_helpers_application_helper.rb', line 15

def foundation_panel(**options, &block)
  Foundation::Rails::Helpers::Panel.new(**options, &block)
end