.block#block-tables .content %h2.title Roles .inner = partial('navigation', :active => 'index') .content .inner %table.table %tr %th.first{:colspan => 2} Name %th   %th.last   - even = false; - @role_list.each do |role| %tr{ :class => even ? "even" : "odd" } %td{:colspan => 2}= link_to(role[0], slice_url(:role, role[0])) %td = link_to('Edit', slice_url(:edit_role, role[0])) | = link_to('Delete', slice_url(:role, role[0]), :method => "delete", :confirm => "Really delete Role #{role[0]}? there is no undo.") - even ? even = false: even = true