Module: Karafka::Web::Ui::Helpers::AlertsHelper
- Included in:
- Base
- Defined in:
- lib/karafka/web/ui/helpers/alerts_helper.rb
Overview
Helper for generating general alerts
Instance Method Summary collapse
-
#alert_info(message) ⇒ String
Html with alert info.
Instance Method Details
#alert_info(message) ⇒ String
Returns html with alert info.
11 12 13 14 15 16 17 18 |
# File 'lib/karafka/web/ui/helpers/alerts_helper.rb', line 11 def alert_info() partial( 'shared/alerts/info', locals: { message: } ) end |