Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +02:00

42 lines
976 B
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 :name, :label => "Nom du contact :"
%td
= form.input :comment, :label => "Fonction, commentaire :", :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;
}
}
}