Sha256: 62c9034e4d289948ecb903906004ad87a79e00ad41d0030495008a931f9cb111
Contents?: true
Size: 851 Bytes
Versions: 42
Compression:
Stored size: 851 Bytes
Contents
.block#block-tables .content %h2.title Databags .inner = partial('navigation', :active => 'index') .content .inner %table.table %thead %tr %th.first{:colspan => 2} Databag Name %th %th.last %tbody - @databags.sort_by {|key, value| value.downcase}.each_with_index do |databag, index| %tr{:class => "#{index % 2 == 1 ? 'odd' : 'even'}"} %td{:colspan => 2}= link_to databag[0], url(:databag, { :id => databag[0] }) %td = link_to('Edit', url(:databag, :id => databag[0])) | = link_to('Delete', url(:databag, :id => databag[0]), :method => "delete", :confirm => "Really delete Databag #{databag[0]}? There is no undo.")
Version data entries
42 entries across 42 versions & 1 rubygems