Add auto champs objects at a dossier (same as PJ)

Add dynamic of Champs on the description page
Rename model 'Champs' to 'Champ'
This commit is contained in:
Xavier J 2015-11-03 15:27:49 +01:00
parent 56eccf55df
commit 27dbd3a878
14 changed files with 103 additions and 81 deletions

View file

@ -0,0 +1,44 @@
@import "bootstrap";
@import "bootstrap-datepicker3";
#description_page #liste_champs{
h4{
padding-top: 10px;
}
}
.type_champs-text {
@extend .col-md-6;
@extend .col-lg-6;
input[type='text'] {
width: 100%;
}
}
.type_champs-textarea {
@extend .col-md-9;
@extend .col-lg-9;
textarea.form-control {
width:100%;
}
}
.type_champs-number {
@extend .col-md-3;
@extend .col-lg-3;
input[type='number']{
width: 100%;
}
}
.type_champs-datetime {
@extend .col-md-2;
@extend .col-lg-2;
input[type='number']{
width: 100%;
}
}