Sha256: afd6efe4345849b5274008abba74ff9ea123c7f16091f0096d076e18291afcf0
Contents?: true
Size: 1.32 KB
Versions: 4
Compression:
Stored size: 1.32 KB
Contents
module SimpleResource module Configuration mattr_accessor :table_classes self.table_classes = "table" mattr_accessor :table_classes_for_collection self.table_classes_for_collection = "collection" mattr_accessor :table_classes_for_resource self.table_classes_for_resource = "resource" mattr_accessor :button_classes self.button_classes = "btn" mattr_accessor :mini_button_classes self.mini_button_classes = "btn-mini" mattr_accessor :button_classes_for_new self.button_classes_for_new = "" mattr_accessor :button_classes_for_show self.button_classes_for_show = "" mattr_accessor :button_classes_for_edit self.button_classes_for_edit = "" mattr_accessor :button_classes_for_delete self.button_classes_for_delete = "btn-danger" mattr_accessor :icon_classes self.icon_classes = "" mattr_accessor :icon_classes_for_new self.icon_classes_for_new = "icon-plus-sign" mattr_accessor :icon_classes_for_show self.icon_classes_for_show = "icon-zoom-in" mattr_accessor :icon_classes_for_edit self.icon_classes_for_edit = "icon-edit" mattr_accessor :icon_classes_for_delete self.icon_classes_for_delete = "icon-trash icon-white" def configure yield self if block_given? end end end
Version data entries
4 entries across 4 versions & 1 rubygems