Sha256: 0697fc9efecfeabd26b4a466a960433eb3fdb83cd589d6cbf475f59d34a1bd52
Contents?: true
Size: 986 Bytes
Versions: 26
Compression:
Stored size: 986 Bytes
Contents
.block#block-text .content %h2.title= "Databag: #{@databag_name}" .inner = partial('item_navigation', :active => 'show') .content .inner %table.table %tr %th.first{:colspan => 2} Databag Items %th %th.last - @databag.sort.each_with_index do |databag_item_uri, index| %tr{:class => "#{index % 2 == 1 ? 'odd' : 'even'}"} %td{:colspan => 2}= link_to databag_item_uri[0], url(:databag_databag_item, :id => databag_item_uri[0], :databag_id => @databag_name) %td = link_to('Edit', url(:edit_databag_databag_item, :id => databag_item_uri[0], :databag_id => @databag_name)) | = link_to('Delete', url(:databag_databag_item, :id => databag_item_uri[0], :databag_id => @databag_name), :method => "delete", :confirm => "Really delete Databag Item #{databag_item_uri[0]}? There is no undo.")
Version data entries
26 entries across 26 versions & 1 rubygems