Sha256: b112b79b78fff2ca94c2b196ac1cfbe883963d09eb509465e39fb0bdde32df28

Contents?: true

Size: 599 Bytes

Versions: 14

Compression:

Stored size: 599 Bytes

Contents

%table
  %thead
    %tr
      %th Type
      %th Record
<% if owner? %>      %th Owner
<% end %>      %th State
      %th
  %tbody
    - @approvals.each do |approval|
      %tr
        %td= approval.item_type.classify
        %td= approval.item.try(:to_s) || approval.item.id
<% if owner? %>        %td= render :partial => 'owner_select', :locals => {:approval => approval}
<% end %>        %td= approval.state
        %td.actions
          = link_to('Approve', approve_approval_path(approval), :class => 'approve')
          = link_to('Reject', reject_approval_path(approval), :class => 'reject')

Version data entries

14 entries across 7 versions & 2 rubygems

Version Path
acts_as_approvable-0.7.0 generators/acts_as_approvable/templates/views/haml/_table.html.haml
acts_as_approvable-0.7.0 lib/generators/haml/templates/_table.html.haml
acts-as-approvable-0.6.9.1 lib/generators/haml/templates/_table.html.haml
acts-as-approvable-0.6.9.1 generators/acts_as_approvable/templates/views/haml/_table.html.haml
acts-as-approvable-0.6.9 generators/acts_as_approvable/templates/views/haml/_table.html.haml
acts-as-approvable-0.6.9 lib/generators/haml/templates/_table.html.haml
acts-as-approvable-0.6.8.1 generators/acts_as_approvable/templates/views/haml/_table.html.haml
acts-as-approvable-0.6.8.1 lib/generators/haml/templates/_table.html.haml
acts-as-approvable-0.6.7 generators/acts_as_approvable/templates/views/haml/_table.html.haml
acts-as-approvable-0.6.7 lib/generators/haml/templates/_table.html.haml
acts-as-approvable-0.6.6 generators/acts_as_approvable/templates/views/haml/_table.html.haml
acts-as-approvable-0.6.6 lib/generators/haml/templates/_table.html.haml
acts-as-approvable-0.6.5 generators/acts_as_approvable/templates/views/haml/_table.html.haml
acts-as-approvable-0.6.5 lib/generators/haml/templates/_table.html.haml