71 lines
1.2 KiB
Plaintext
71 lines
1.2 KiB
Plaintext
.qi_header
|
|
.right
|
|
= link_to ic(:pencil)+" modifier / attribuer la fiche", edit_admin_contact_path(@contact), :remote => true, :class => "btn btn-warning"
|
|
%h1
|
|
=link_to "Contacts", admin_contacts_path()
|
|
%span
|
|
Détails
|
|
|
|
|
|
|
|
|
|
|
|
.qi_row
|
|
|
|
|
|
.qi_pannel.qi_plain.padding
|
|
.header
|
|
|
|
|
|
|
|
|
|
#show=render :partial => "show"
|
|
|
|
|
|
|
|
-if @contact.contact_products
|
|
%h3 Liste des produits demandés :
|
|
-@contact.contact_products.all.each do |cp|
|
|
.contact_product
|
|
|
|
%table
|
|
|
|
%tr
|
|
%td{:style => "padding-bottom:10px"}
|
|
=image_tag cp.d_product.icon.file.url, :style => "height:80px;"
|
|
%td
|
|
|
|
=cp.qte
|
|
=cp.d_product.unit
|
|
|
|
|
|
|
|
|
|
|
|
= link_to 'Ajouter une action', new_admin_contact_action_path(:contact_id => @contact.id), :class => "btn btn-success", :style => "float:right;", :remote => true
|
|
%br
|
|
%br
|
|
%br
|
|
|
|
=raw @contact.devis_content
|
|
%h2 Interactions
|
|
|
|
|
|
#contact_actions
|
|
=render @contact_actions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|