Sha256: 6612adf7cf5029194fe1c07464cc710dd65bb7b805b968e86db2f7397873ea28
Contents?: true
Size: 726 Bytes
Versions: 58
Compression:
Stored size: 726 Bytes
Contents
- unless flash.empty? - flash.each do |name, msg| - flash_type_translation = { 'notice' => 'warning', 'alert' => 'danger', 'success' => 'success'} - alert_class_name = flash_type_translation[name] || 'info' %div{:class=>['alert',"alert-#{alert_class_name}"]} %button.close( data-dismiss="alert" type="button") %i.fa.fa-times .message = msg -#= content_tag :div, msg, id: "flash_#{name}" if msg.is_a?(String) -# .alert.alert-block.alert-success %button.close( data-dismiss="alert" type="button") %i.fa.fa-times Welcome to %strong.green OptimaCMS %small (v0.1.1) , the lightweight, feature-rich and easy to use admin
Version data entries
58 entries across 58 versions & 1 rubygems