Sha256: 4a8ee2d6c8d8cc23ee85c07f2d7a406d56e467669b7b38f365906f01c8fcb2cb
Contents?: true
Size: 740 Bytes
Versions: 75
Compression:
Stored size: 740 Bytes
Contents
.block#block-tables .content %h2.title Users .inner = partial('navigation', :active => 'index') .content .inner %table.table %tr %th.first{:colspan => 2} Username %th %th.last - even = false - @users.sort.each do |user, user_url| %tr{:class => even ? "even": "odd" } %td{:colspan => 2}= link_to user, url(:users_show, :user_id => user) %td = link_to('Edit', url(:users_edit, :user_id => user)) | = link_to('Delete', url(:users_delete, :user_id => user), :method => "delete", :confirm => "Really delete User #{user}? There is no undo.")
Version data entries
75 entries across 75 versions & 1 rubygems