aside.col-lg-12.individual .row header .col-lg-12.cdiv =image_tag ('customer_vault/icons/individual-64.png') .col-lg-12.cdiv span class= "text-muted titre bold" #{individual.first_name} #{individual.last_name} .row .col-lg-12.top-buffer - if individual.email? .col-lg-12.cdiv .bold.text-muted.cdiv Email span #{individual.email} .col-lg-12.cdiv - if individual.twitter? .bold.text-muted.cdiv Twitter span #{individual.twitter} .col-lg-12.cdiv - if individual.phone? .bold.text-muted.cdiv Phone span #{individual.phone} .col-lg-12.cdiv - if individual.mobile? .bold.text-muted.cdiv Mobile span #{individual.mobile} .col-lg-12.cdiv - if individual.fax? .bold.text-muted.cdiv Fax span #{individual.fax} .col-lg-12.cdiv - if individual.context? .bold.text-muted.cdiv Context span #{individual.context} .col-lg-12.cdiv - if individual.www? .bold.text-muted.cdiv Internet Site - if individual.www.include?("http://") =link_to individual.www , individual.www - else =link_to "http://#{individual.www}" , "http://#{individual.www}" .col-lg-12.cdiv - if individual.address && !individual.address.one_line.blank? .bold.text-muted.cdiv Address span.address #{individual.address.one_line} .row.mega-top-buffer.bottom-buffer .col-lg-4.cdiv =link_to 'Editer', customer_vault.edit_individual_path(individual), :class=>"btn btn-success btn-sm" .col-lg-4.cdiv =link_to 'Effacer', [customer_vault, individual], 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"