Sha256: 1797196aa1b00bc810eeeb9a82335d6199423d1fae16697e1ba36ee53d619451
Contents?: true
Size: 987 Bytes
Versions: 91
Compression:
Stored size: 987 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
91 entries across 91 versions & 1 rubygems