def alert_element(type, message)
      content_tag :div, class: alert_classes(type), role: 'alert' do
        close_element + message.html_safe
      end
    end
def alert_element(type, message)
      content_tag :div, class: alert_classes(type), role: 'alert' do
        close_element + message.html_safe
      end
    end
BOOTSTRAP FRAMEWORK
 =========================================