Sha256: 09c96731974f494165d6a41af6bdb1f7d2ecaa36fddb4696fbd8669e869b1340
Contents?: true
Size: 1.4 KB
Versions: 5
Compression:
Stored size: 1.4 KB
Contents
.container-fluid .col-lg-12 ol class="breadcrumb" li = link_to 'Home', '/' li = link_to 'People', customer_vault.people_path li.active #{@individual.first_name} #{@individual.last_name} .col-lg-12 .col-lg-4 = render partial: 'show_details', locals: {individual: @individual} .col-lg-8 .col-lg-12 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 - @individual.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: @individual, link: link[:origin]} - if target.instance_of? CustomerVault::Corporation = render partial: 'customer_vault/corporations/list_details', :locals => {:c => target, person: @individual, link: link[:origin]} = link_to 'New link', customer_vault.new_individual_link_path(@individual.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
Version data entries
5 entries across 5 versions & 1 rubygems