- content_for :sub_header do ol.breadcrumb li = link_to 'Home', '/' li = link_to 'People', customer_vault.people_path li.active = @corporation.name - content_for :context do = render partial: 'show_details', locals: {corporation: @corporation} - content_for :main do ul.nav.nav-tabs role="tablist" li.active a data-toggle="tab" href="#linkable" role="tab" Links li a data-toggle="tab" href="#history" role="tab" History li a data-toggle="tab" href="#todos" role="tab" Todos .tab-content #linkable.tab-pane.active ul.linkable - @corporation.links.each do |link| li.person - target = link[:person] - if target.instance_of? CustomerVault::Individual = render partial: 'customer_vault/individuals/list_details', :locals => {:i => target, person: @corporation, link: link[:origin]} - if target.instance_of? CustomerVault::Corporation = render partial: 'customer_vault/corporations/list_details', :locals => {:c => target, person: @corporation, link: link[:origin]} = link_to 'New link', customer_vault.new_corporation_link_path(@corporation.id), class: "btn btn-success", id: 'new-link' #history.tab-pane p = "History is soon to come" #todos.tab-pane p = "Todos are soon to come" = render "agilidee_commons/contextual"