Sha256: 38d626fbc69f517969dcf6ef0207b2048ca708dd21993323627ed26772bc99d3
Contents?: true
Size: 919 Bytes
Versions: 7
Compression:
Stored size: 919 Bytes
Contents
%div.panel.panel-success %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) %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
7 entries across 7 versions & 2 rubygems