.container-fluid .row .col-lg-12 ol class="breadcrumb" li = link_to 'Home', '/' li.active People .row .col-lg-4 aside.col-lg-12 .row.action .col-lg-12.cdiv = image_tag ('customer_vault/icons/individual-64.png') .col-lg-12.cdiv = link_to 'New Individual', customer_vault.new_individual_path, :class=>"btn btn-warning btn-lg" aside.col-lg-12 .row.action .col-lg-12.cdiv = image_tag ('customer_vault/icons/group-64.png') .col-lg-12.cdiv = link_to 'New Corporation', customer_vault.new_corporation_path, :class=>"btn btn-warning btn-lg" .col-lg-8 - if @people.empty? h1 class="text-muted center" There isn't any people - else ul.people - @people.each do |person| li.person - if person.instance_of? CustomerVault::Individual = render partial: 'customer_vault/individuals/list_details', :locals => {:i => person} - if person.instance_of? CustomerVault::Corporation = render partial: 'customer_vault/corporations/list_details', :locals => {:c => person} .row .cdiv = paginate @people