Sha256: 1ba9bbac639b079d8ba3345541c0a783b33f9e2306ea60d646c6d236987f3913

Contents?: true

Size: 518 Bytes

Versions: 7

Compression:

Stored size: 518 Bytes

Contents

- content_for :header_left do
  = "Show #{label_resource_class}: '#{label_resource}'"
  = link_to_edit @resource if resource_admin_config.default_member_actions(@resource).include?(:edit)
- content_for :header_right do
  = link_to_back 'Back', admin_resource_path

.formtastic
  %table
    - resource_admin_config.attributes_show(@resource).each do |attr|
      - attr = attr.keys.first if attr.is_a?(Hash)
      %tr
        %th
          = "#{attr.to_s.titlecase}:"
        = display_resource_value(@resource, attr)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
adminsite-3.1.2 app/views/adminsite/admin/resources/show.haml
adminsite-3.1.1 app/views/adminsite/admin/resources/show.haml
adminsite-3.1.0 app/views/adminsite/admin/resources/show.haml
adminsite-3.0.0 app/views/adminsite/admin/resources/show.haml
adminsite-2.1.2 app/views/adminsite/admin/resources/show.haml
adminsite-2.1.1 app/views/adminsite/admin/resources/show.haml
adminsite-2.1.0 app/views/adminsite/admin/resources/show.haml