Sha256: 4ff45fccb7ef358a143586a568a46c74741594afe1ad3cfc94831c837e847b36

Contents?: true

Size: 796 Bytes

Versions: 7

Compression:

Stored size: 796 Bytes

Contents

%h1 Instances

%table.display
  %thead
    %tr
      %th ID
      %th Owner
      %th Name
      %th Image
      %th Realm
      %th State
      %th Actions
  %tbody
    - @instances.each do |instance|
      %tr
        %td
          = link_to instance.id, instance_url( instance.id )
        %td
          = link_to instance.owner_id, images_url
        %td
          = instance.name
        %td
          = link_to instance.image_id, image_url( instance.image_id )
        %td
          = instance.realm_id ? link_to(instance.realm_id, realm_url( instance.realm_id )) : 'default'
        %td
          = instance.state
        %td
          -instance.actions.each do |action|
            =link_to_action action, self.send(:"#{action}_instance_url", instance.id), instance_action_method(action)

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
steamcannon-deltacloud-core-0.1.2.1 views/instances/index.html.haml
steamcannon-deltacloud-core-0.1.1.3 views/instances/index.html.haml
deltacloud-core-0.1.2 views/instances/index.html.haml
steamcannon-deltacloud-core-0.1.1.2 views/instances/index.html.haml
steamcannon-deltacloud-core-0.1.1.1 views/instances/index.html.haml
deltacloud-core-0.1.1 views/instances/index.html.haml
deltacloud-core-0.1.0 views/instances/index.html.haml