Sha256: 732229f19e12665f668487aaa24f78b9f5fc3f2cc94e78a596667ae9af9c0fe9

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

.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
				.sorting
					.span 
						' Trier par:
						= sortable_column 'Nom', :column => "name"
						', 
						= sortable_column 'Code postal', :column => "zip"
				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
						

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
customer_vault-1.0.4 app/views/customer_vault/people/index.html.slim
customer_vault-1.0.3 app/views/customer_vault/people/index.html.slim
customer_vault-1.0.2 app/views/customer_vault/people/index.html.slim
customer_vault-1.0.1 app/views/customer_vault/people/index.html.slim