Sha256: c52b40148ef1ad19cd90dc317c931c57fc9c0de58fe02540da49af5ef82bf9cd

Contents?: true

Size: 1.78 KB

Versions: 3

Compression:

Stored size: 1.78 KB

Contents

.container-fluid
	.col-lg-12
		ol class="breadcrumb"
			li 
				= link_to 'Home', '/'
			li
				= link_to 'People', customer_vault.people_path
			li.active #{@person.first_name} #{@person.last_name}
	.col-lg-12
		.col-lg-4
			aside class = "col-lg-12 cadre"
				.row
					.col-lg-12.cdiv
						=image_tag ('customer_vault/icons/people-64.png')
					.col-lg-12.cdiv
						span class= "text-muted titre bold" #{@person.title} #{@person.first_name} #{@person.last_name}
				.row
					.col-lg-12.top-buffer
						-	if @person.email?
							.col-lg-12.cdiv
								.bold.text-muted.cdiv Email
								span #{@person.email}	
					.col-lg-12.cdiv
						-	if @person.twitter?
								.bold.text-muted.cdiv Twitter
								span #{@person.twitter}
					.col-lg-12.cdiv
						-	if @person.phone?
								.bold.text-muted.cdiv Phone
								span #{@person.phone}
					.col-lg-12.cdiv
						-	if @person.mobile?
								.bold.text-muted.cdiv Mobile
								span #{@person.mobile}
					.col-lg-12.cdiv
						-	if @person.fax?
								.bold.text-muted.cdiv Fax
								span #{@person.fax}
					.col-lg-12.cdiv
						-	if @person.context?
								.bold.text-muted.cdiv Context
								span #{@person.context}
					.col-lg-12.cdiv
						-	if @person.www?
								.bold.text-muted.cdiv Internet Site
								=link_to @person.www , extlink(@person.www)
					
				.row.mega-top-buffer.bottom-buffer
					.col-lg-4.cdiv
						=link_to 'Editer', customer_vault.edit_person_path(@person), :class=>"btn btn-success btn-sm"
					.col-lg-4.cdiv
						=link_to 'Effacer', [customer_vault, @person], data: {:confirm => 'Are you sure?'}, :method => :delete, :class=>"btn btn-danger btn-sm"
					.col-lg-4.cdiv
						= link_to 'Retour', customer_vault.people_path, :class=>"btn btn-primary btn-sm"								
		.col-lg-8
			.col-lg-12

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
customer_vault-0.0.4 app/views/customer_vault/people/show.html.slim
customer_vault-0.0.3 app/views/customer_vault/people/show.html.slim
customer_vault-0.0.2 app/views/customer_vault/people/show.html.slim