Module: Foundation::Rails::Helpers::FoundationRailsHelpersApplicationHelper
- Defined in:
- app/helpers/foundation/rails/helpers/foundation_rails_helpers_application_helper.rb
Instance Method Summary collapse
-
#foundation_alert(**options, &block) ⇒ Object
Generates a Foundation Alert.
-
#foundation_panel(**options, &block) ⇒ Object
Generates a Foundation Panel.
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(**, &block) Foundation::Rails::Helpers::Alert.new(**, &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(**, &block) Foundation::Rails::Helpers::Panel.new(**, &block) end |