some fix for multijouer webform

This commit is contained in:
Bachir Soussi Chiadmi 2021-07-05 12:08:32 +02:00
parent 89c450e103
commit 19f79da87e
6 changed files with 22 additions and 5 deletions

View File

@ -0,0 +1 @@
elements: "address:\n '#default_value':\n additional_name: ''\n dependent_locality: ''\n administrative_area: ''\n"

View File

@ -17,7 +17,7 @@ id: multi_joueur
title: Multi-Joueur title: Multi-Joueur
description: '' description: ''
category: '' category: ''
elements: "address:\n '#type': address\n '#title': Address\n '#required': true\n '#default_value':\n country_code: FR\n langcode: ''\n organization: ''\n given_name: ''\n family_name: ''\n address_line1: ''\n address_line2: ''\n postal_code: ''\n locality: ''\n sorting_code: ''\n additional_name: null\n dependent_locality: null\n administrative_area: null\nvat_number:\n '#type': textfield\n '#title': 'VAT number'\n '#description': 'Intra-community VAT number (to be completed only for professionals outside France)'\nphone:\n '#type': tel\n '#title': Phone\n '#required': true\ncollaborateur:\n '#type': webform_contact\n '#title': Collaborateur\n '#multiple': true\n '#multiple__min_items': 2\n '#multiple__empty_items': 2\n '#multiple__sorting': false\n '#multiple__add': false\n '#multiple__add_more_input': false\n '#name__required': true\n '#company__access': false\n '#email__required': true\n '#phone__access': false\n '#address__access': false\n '#address_2__access': false\n '#city__access': false\n '#state_province__access': false\n '#postal_code__access': false\n '#country__access': false\n '#flexbox': '0'\nactions:\n '#type': webform_actions\n '#title': 'Submit button(s)'\n '#submit__label': 'Ask for a Quote'" elements: "address:\n '#type': address\n '#title': Address\n '#required': true\n '#default_value':\n country_code: FR\n langcode: ''\n organization: ''\n given_name: ''\n family_name: ''\n address_line1: ''\n address_line2: ''\n postal_code: ''\n locality: ''\n sorting_code: ''\n additional_name: null\n dependent_locality: null\n administrative_area: null\nvat_number:\n '#type': textfield\n '#title': 'Numéro de TVA'\n '#description': 'N° de TVA intracommunautaire (à renseigner uniquement pour les professionnels hors France)'\nphone:\n '#type': tel\n '#title': Téléphone\n '#required': true\n '#telephone_validation_format': '0'\nemail_confirm:\n '#type': webform_email_confirm\n '#title': Email\n '#required': true\n '#flexbox': '0'\ncollaborateur:\n '#type': webform_contact\n '#title': Collaborateur\n '#multiple': true\n '#multiple__min_items': 2\n '#multiple__empty_items': 2\n '#multiple__sorting': false\n '#multiple__add': false\n '#multiple__add_more_input': false\n '#name__required': true\n '#company__access': false\n '#email__required': true\n '#phone__access': false\n '#address__access': false\n '#address_2__access': false\n '#city__access': false\n '#state_province__access': false\n '#postal_code__access': false\n '#country__access': false\n '#flexbox': '0'\nactions:\n '#type': webform_actions\n '#title': 'Submit button(s)'\n '#submit__label': 'Ask for a Quote'"
css: '' css: ''
javascript: '' javascript: ''
settings: settings:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2673,7 +2673,7 @@ form#user-pass{
.form-item{ .form-item{
margin:0.5em 0; margin:0.5em 0;
} }
$lw:7em; $lw:10em;
label{ label{
display: inline-block; display: inline-block;
width:$lw; width:$lw;
@ -2712,6 +2712,22 @@ form#user-pass{
margin:0; margin:0;
padding: 0 1em 1em; padding: 0 1em 1em;
} }
.js-form-item-email{
background-color: $color-webshowroom;
margin:0;
padding: 0 1em 1em;
}
.webform-type-webform-email-confirm{
background-color: $color-webshowroom;
margin:0;
padding: 0 1em 1em;
label{
width: 15em;
}
input[type="email"]{
width: calc(95% - 15em);
}
}
.form-item-collaborateur{ .form-item-collaborateur{
background-color: $color-base; background-color: $color-base;
margin:0; margin:0;