48 lines
1.1 KiB
Plaintext
Executable File
48 lines
1.1 KiB
Plaintext
Executable File
.p_contact_form.field
|
|
|
|
%table{:style => "width:100%;"}
|
|
%tr
|
|
-if false
|
|
%td{:style => "width:30px;"}
|
|
%p
|
|
%strong BL
|
|
|
|
= form.input :bc, :label => ""
|
|
|
|
|
|
%td
|
|
= form.input :civilite, :label => "Civ. :", :collection => ["M", "Mme"], :as => :select
|
|
|
|
%td
|
|
= form.input :firstname, :label => "Prénom :"
|
|
|
|
%td
|
|
= form.input :name, :label => "Nom du contact :"
|
|
%td
|
|
= form.input :comment, :label => "Fonction :", :as => :string
|
|
%td
|
|
= form.input :tel, :label => "Tel :"
|
|
%td
|
|
= form.input :email, :label => "Email :"
|
|
%td{:style => "width:30px;"}
|
|
=link_to_remove_fields ic(:"trash-o"), form
|
|
|
|
.cats= form.input :p_contact_type_ids, :label => false, :collection => PContactType.all, :as => :check_boxes
|
|
|
|
:scss
|
|
.cats{
|
|
label, input, .checkbox{
|
|
display:inline-block;
|
|
}
|
|
.checkbox{
|
|
margin:0;
|
|
}
|
|
label{
|
|
padding-right:5px;
|
|
input{
|
|
margin-left:0 !important;
|
|
margin-right:2px;
|
|
}
|
|
}
|
|
|
|
} |