Sha256: 5ba416594664c84be45fb65d8a8c67d23d6d8cbde61bec9127a60eefe9c5e0a5
Contents?: true
Size: 818 Bytes
Versions: 59
Compression:
Stored size: 818 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.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
59 entries across 59 versions & 1 rubygems