pic_vert_app/app/views/admin/sheets/_sheet_detail.html.haml
2013-06-29 23:10:44 +02:00

39 lines
853 B
Plaintext

%table
%tr
%td{:colapse => 2}=h Sheet::SHEET_TYPE[@sheet.sheet_type]
-if @sheet.corporate and @sheet.corporate != ""
%tr
%td Organisme :
%td
%strong=h @sheet.corporate
-if @sheet.other_phone and @sheet.other_phone != ""
%tr
%td Téléphone :
%td
%strong=h @sheet.other_phone
-if @sheet.other_mail and @sheet.other_mail != ""
%tr
%td Email :
%td=h @sheet.other_mail
%tr
%td{:style => "vertical-align:top;"} Adresse:
%td
=h @sheet.address
%br
=raw h(@sheet.address2)+"<br />" if @sheet.address2 and @sheet.address2 != ""
=raw h(@sheet.address3)+"<br />" if @sheet.address3 and @sheet.address3 != ""
=h @sheet.pc
=h @sheet.city
%br
=h @sheet.country
-if @sheet.skills and @sheet.skills !=""
%tr
%td{:style => "vertical-align:top;"} Compétences :
%td=h @sheet.skills