Commit 7bab8148 authored by THEO GUILLON's avatar THEO GUILLON
Browse files

Merge branch '382-probleme-d-affichage-sur-les-champs-dans-le-formualire' into '2.0.0'

Resolve "problème d'affichage sur les champs dans le formualire"

See merge request libriciel/pole-citoyens/web-DPO/web-DPO!384
parents 32b17268 c11c0b08
......@@ -59,7 +59,8 @@ $line = 1;
'id' => $options['name'],
'label' => [
'text' => $options['label'],
'class' => 'col-md-4'
'class' => 'col-md-4',
'style' => "overflow-wrap: anywhere;"
],
'required' => $required,
'placeholder' => $options['placeholder']
......@@ -72,7 +73,8 @@ $line = 1;
'id' => $options['name'],
'label' => [
'text' => $options['label'],
'class' => 'col-md-4'
'class' => 'col-md-4',
'style' => "overflow-wrap: anywhere;"
],
'type' => 'textarea',
'required' => $required,
......@@ -86,7 +88,8 @@ $line = 1;
'id' => $options['name'],
'label' => [
'text' => $options['label'],
'class' => 'col-md-4'
'class' => 'col-md-4',
'style' => "overflow-wrap: anywhere;"
],
'class' => 'form-control calendar',
'required' => $required,
......@@ -133,7 +136,8 @@ $line = 1;
'id' => $options['name'],
'label' => [
'text' => $options['label'],
'class' => 'col-md-4'
'class' => 'col-md-4',
'style' => "overflow-wrap: anywhere;"
],
'required' => $required,
'multiple' => 'checkbox',
......@@ -149,7 +153,8 @@ $line = 1;
'id' => $options['name'],
'label' => [
'text' => $options['label'],
'class' => 'col-md-4'
'class' => 'col-md-4',
'style' => "overflow-wrap: anywhere;"
],
'options' => $options['options'],
'required' => $required,
......@@ -168,7 +173,8 @@ $line = 1;
'class' => 'form-group multiSelect',
'label' => [
'text' => $options['label'],
'class' => 'col-md-4'
'class' => 'col-md-4',
'style' => "overflow-wrap: anywhere;"
],
'required' => $required,
'between' => '<div class="col-md-8">',
......@@ -189,7 +195,7 @@ $line = 1;
<div class="form-group">
<div class="col-md-4">
<label>
<span class="labeler">
<span class="labeler" style="overflow-wrap: anywhere;">
<?php echo $options['label'];?>
</span>
<?php if ($options['obligatoire']): echo '<span class="requis">*</span>'; endif;?>
......
......@@ -42,7 +42,7 @@ foreach ($champs as $key => $value) {
.'data-virtual-conditions='.$details['conditions'].'>'
. '<div class="col-md-4">'
. '<label for="'.$details['name'].'">'
. '<span class="labeler">' . $details['label'] . '</span>'
. '<span class="labeler" style="overflow-wrap: anywhere;">' . $details['label'] . '</span>'
. ($details['obligatoire'] ? '<span class="obligatoire"> *</span>' : '')
. '</label>'
. '</div>'
......@@ -59,7 +59,7 @@ foreach ($champs as $key => $value) {
.'data-virtual-conditions='.$details['conditions'].'>'
. '<div class="col-md-4">'
. '<label for="'.$details['name'].'">'
. '<span class="labeler">' . $details['label'] . '</span>'
. '<span class="labeler" style="overflow-wrap: anywhere;">' . $details['label'] . '</span>'
. ($details['obligatoire'] ? '<span class="obligatoire"> *</span>' : '')
. '</label>'
. '</div>'
......@@ -76,7 +76,7 @@ foreach ($champs as $key => $value) {
.'data-virtual-conditions='.$details['conditions'].'>'
. '<div class="col-md-4">'
. '<label for="'.$details['name'].'">'
. '<span class="labeler">' . $details['label'] . '</span>'
. '<span class="labeler" style="overflow-wrap: anywhere;">' . $details['label'] . '</span>'
. ($details['obligatoire'] ? '<span class="obligatoire"> *</span>' : '')
. '</label>'
. '</div>'
......@@ -116,7 +116,7 @@ foreach ($champs as $key => $value) {
.'data-virtual-conditions='.$details['conditions'].'>'
.'<div class="input select">'
.'<label for="'.$details['name'].'" class="col-md-4">'
.'<span class="labeler">'.$details['label'].'</span>'
.'<span class="labeler" style="overflow-wrap: anywhere;">'.$details['label'].'</span>'
. ($details['obligatoire'] ? '<span class="obligatoire"> *</span>' : '')
.'</label>'
.'<div class="col-md-8 contentCheckbox">'
......@@ -151,7 +151,7 @@ foreach ($champs as $key => $value) {
.'data-virtual-conditions='.$details['conditions'].'>'
. '<div class="col-md-4">'
. '<label for="'.$details['name'].'">'
. '<span class="labeler">' . $details['label'] . '</span>'
. '<span class="labeler" style="overflow-wrap: anywhere;">' . $details['label'] . '</span>'
. ($details['obligatoire'] ? '<span class="obligatoire"> *</span>' : '')
. '</label>'
. '</div>'
......@@ -181,7 +181,7 @@ foreach ($champs as $key => $value) {
.'data-virtual-conditions='.$details['conditions'].'>'
. '<div class="col-md-4">'
. '<label for="'.$details['name'].'">'
. '<span class="labeler">' . $details['label'] . '</span>'
. '<span class="labeler" style="overflow-wrap: anywhere;">' . $details['label'] . '</span>'
. ($details['obligatoire'] ? '<span class="obligatoire"> *</span>' : '')
. '</label>'
. '</div>'
......@@ -209,7 +209,7 @@ foreach ($champs as $key => $value) {
.'data-virtual-conditions='.$details['conditions'].'>'
.'<div class="col-md-4">'
.'<label for="'.$details['name'].'">'
.'<span class="labeler">' . $details['label'] . '</span>'
.'<span class="labeler" style="overflow-wrap: anywhere;">' . $details['label'] . '</span>'
. ($details['obligatoire'] ? '<span class="obligatoire"> *</span>' : '')
.'</label>'
.'</div>'
......
......@@ -141,7 +141,7 @@ let createForm = function(typeCreateForm) {
'<div class="draggable form-group col-md-6 small-text ui-selected" style="left : 0px; top : ' + top + 'px;">' +
'<div class="col-md-4">' +
'<label>' +
'<span class="labeler">' +
'<span class="labeler" style="overflow-wrap: anywhere;">' +
'Petit champ texte' +
'</span>' +
'</label>' +
......@@ -158,7 +158,7 @@ let createForm = function(typeCreateForm) {
'<div class="draggable form-group col-md-6 long-text ui-selected" style="left : 0px; top : ' + top + 'px;">' +
'<div class="col-md-4">' +
'<label>' +
'<span class="labeler">' +
'<span class="labeler" style="overflow-wrap: anywhere;">' +
'Grand champ texte' +
'</span>' +
'</label>' +
......@@ -175,7 +175,7 @@ let createForm = function(typeCreateForm) {
'<div class="draggable form-group col-md-6 date ui-selected" style="left : 0px; top : ' + top + 'px;">' +
'<div class="col-md-4">' +
'<label>' +
'<span class="labeler">' +
'<span class="labeler" style="overflow-wrap: anywhere;">' +
'Champ date' +
'</span>' +
'</label>' +
......@@ -218,7 +218,7 @@ let createForm = function(typeCreateForm) {
'<div class="draggable form-group col-md-6 checkboxes ui-selected" style="left : 0px; top : ' + top + 'px;">' +
'<div class="input select">' +
'<label class="col-md-4">' +
'<span class="labeler">' +
'<span class="labeler" style="overflow-wrap: anywhere;">' +
'Cases à cocher' +
'</span>' +
'</label>' +
......@@ -237,7 +237,7 @@ let createForm = function(typeCreateForm) {
'<div class="draggable form-group col-md-6 radios ui-selected" data-virtual-required="fieldRequired" style="left : 0px; top : ' + top + 'px;">' +
'<div class="col-md-4">' +
'<label>' +
'<span class="labeler">' +
'<span class="labeler" style="overflow-wrap: anywhere;">' +
'Choix unique' +
'</span>' +
'<span class="obligatoire"> *</span>' +
......@@ -255,7 +255,7 @@ let createForm = function(typeCreateForm) {
'<div class="draggable form-group col-md-6 deroulant ui-selected" style="left : 0px; top : ' + top + 'px;">' +
'<div class="col-md-4">' +
'<label>' +
'<span class="labeler">' +
'<span class="labeler" style="overflow-wrap: anywhere;">' +
'Menu déroulant' +
'</span>' +
'</label>' +
......@@ -274,7 +274,7 @@ let createForm = function(typeCreateForm) {
'<div class="draggable col-md-6 form-group multi-select ui-selected" style="left : 0px; top : ' + top + 'px;">' +
'<div class="col-md-4">' +
'<label>' +
'<span class="labeler">' +
'<span class="labeler" style="overflow-wrap: anywhere;">' +
'Menu multi-select' +
'</span>' +
'</label>' +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment