ul.items

- @accounts.each do |account|
  li.item
    h1.item-title = link_to account.name, url(:accounts, :edit, id: account.id)

    p.item-path = account.email

    - unless account == current_account
      ul.item-actions
        li.item-action
          = link_to('Delete',
            url(:accounts, :confirm_destroy, id: account.id),
            class: 'icon action-account-delete',
            title: 'Delete')

p.section-actions

= link_to 'New Account', url(:accounts, :new), class: 'btn btn-primary action-account-new'