Sha256: 9e1cdbbbf8909678859ab7489539a5ff56aeea8d24707d27b39a9d1ff5103dc7
Contents?: true
Size: 1008 Bytes
Versions: 40
Compression:
Stored size: 1008 Bytes
Contents
- entity_headers = {} unless defined?(entity_headers) and entity_headers = reveal :column, id, :class => 'ui compact button table_column' do %ul.table_column_selector.clean_list - if header - header.each_with_index do |field,i| %li.ui.basic.segment %span.field= field %a.save_column_map.ui.compact.button(href="#") save map - entity_type, options = entity_headers[field] || entity_headers[i] - entity_type ||= Entity.formats.include?(field) && Entity.formats[field] - begin - entity_type = Entity.formats[entity_type] if String === entity_type and Entity.formats.include? entity_type - entity_type = Kernel.const_get(entity_type) if String === entity_type - rescue - Log.exception $! - entity_type = nil - if entity_type and entity_type.include? Entity::REST %a.save_column_list.ui.compact.button(href="#") save list - else NO column selection
Version data entries
40 entries across 40 versions & 1 rubygems