Sha256: 9b2d6c9d6f6f4d3876e59cf6c43f7530e6374f0c797ebf39ad2fdbaf9dd4cdba

Contents?: true

Size: 1.38 KB

Versions: 5

Compression:

Stored size: 1.38 KB

Contents

.container-fluid
	.col-lg-12
		ol class="breadcrumb"
			li 
				= link_to 'Home', '/'
			li
				= link_to 'People', customer_vault.people_path
			li.active #{@corporation.name}
	.col-lg-12
		.col-lg-4
			= render partial: 'show_details', locals: {corporation: @corporation}						

		.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
							- @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



Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
customer_vault-1.0.4 app/views/customer_vault/corporations/show.html.slim
customer_vault-1.0.3 app/views/customer_vault/corporations/show.html.slim
customer_vault-1.0.2 app/views/customer_vault/corporations/show.html.slim
customer_vault-1.0.1 app/views/customer_vault/corporations/show.html.slim
customer_vault-1.0.0 app/views/customer_vault/corporations/show.html.slim