Sha256: a8b62c4be19cf29367e8d585c92467d8171c3b62b50c3dee1bf2dc47329b01d6

Contents?: true

Size: 634 Bytes

Versions: 10

Compression:

Stored size: 634 Bytes

Contents

= form_tag polymorphic_path([:update_order, resource_class]) do
  %table.records.sortable
    %thead
      %tr
        %th= resource_humanize(:position)
        %th= resource_humanize(:name)
        %th= e9_t(:actions)
    %tbody
    - if collection.empty?
      %tr
        %td{:colspan => 3}= e9_t(:no_records_text)
    - else
      - collection.each do |record|
        %tr{:id => "ids_#{record.id}", :class => cycle('odd', 'even')}
          %td
            .handle +++
          %td.txt.wide
            = record.name
          %td.links
            = link_to_edit_resource(record)
            = link_to_destroy_resource(record)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
e9_vendors-0.0.10 app/views/e9_vendors/vendor_categories/_table.html.haml
e9_vendors-0.0.9 app/views/e9_vendors/vendor_categories/_table.html.haml
e9_vendors-0.0.8 app/views/e9_vendors/vendor_categories/_table.html.haml
e9_vendors-0.0.7 app/views/e9_vendors/vendor_categories/_table.html.haml
e9_vendors-0.0.6 app/views/e9_vendors/vendor_categories/_table.html.haml
e9_vendors-0.0.5 app/views/e9_vendors/vendor_categories/_table.html.haml
e9_vendors-0.0.4 app/views/e9_vendors/vendor_categories/_table.html.haml
e9_vendors-0.0.3 app/views/e9_vendors/vendor_categories/_table.html.haml
e9_vendors-0.0.2 app/views/e9_vendors/vendor_categories/_table.html.haml
e9_vendors-0.0.1 app/views/e9_vendors/vendor_categories/_table.html.haml