module Lato::ComponentsHelper

def lato_form_notices(options = {})

def lato_form_notices(options = {})
  return unless notice
  options[:class] ||= []
  options[:class] += %w[alert alert-success]
  options[:class] += %w[alert-dismissible fade show] unless options[:fixed]
  content_tag :div, options do
    concat notice
    concat button_tag('', type: 'button', class: 'btn-close', data: { bs_dismiss: 'alert' }) unless options[:fixed]
  end
end