Sha256: 47ec59c91ad814c46b54e6a423eba73dbb9a3e0a0d56f82a8351a78b908e567a

Contents?: true

Size: 922 Bytes

Versions: 44

Compression:

Stored size: 922 Bytes

Contents

%div.panel
  %div.panel-heading
    %ul.inline.list-inline.pull-right
      = menu_for :member, @abstract_model, object, true
    %h4.panel-title
      = check_box_tag "bulk_ids[]", object.id, false, id: "bulk_ids_#{object.id}"
      %a{:"data-toggle" => "collapse", href: "#object-id-#{object.id}"}
        = (object.resume rescue false || object.display_name rescue false || object.title rescue false || object.name rescue false || object.code rescue false)
        %b.caret
  %div{id: "object-id-#{object.id}", class: "panel-collapse collapse"}
    %div.panel-body
      - properties.map{ |property| property.bind(:object, object) }.each do |property|
        - key = capitalize_first_letter(property.label)
        - value = property.pretty_value
        %p.card-text{class: "#{property.css_class} #{property.type_css_class}", title: strip_tags(value.to_s)}
          %strong
            = key + ":"
          = value

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-2.1.15 app/views/rails_admin/main/_card.html.haml
thecore_ui_rails_admin-2.1.14 app/views/rails_admin/main/_card.html.haml
thecore_ui_rails_admin-2.1.13 app/views/rails_admin/main/_card.html.haml
thecore_ui_rails_admin-2.1.12 app/views/rails_admin/main/_card.html.haml