some fix for multijouer webform
This commit is contained in:
		
							
								
								
									
										1
									
								
								config/sync/language/en/webform.webform.multi_joueur.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								config/sync/language/en/webform.webform.multi_joueur.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| elements: "address:\n  '#default_value':\n    additional_name: ''\n    dependent_locality: ''\n    administrative_area: ''\n" | ||||
| @@ -17,7 +17,7 @@ id: multi_joueur | ||||
| title: Multi-Joueur | ||||
| description: '' | ||||
| 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: '' | ||||
| javascript: '' | ||||
| settings: | ||||
|   | ||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -2673,7 +2673,7 @@ form#user-pass{ | ||||
|   .form-item{ | ||||
|     margin:0.5em 0; | ||||
|   } | ||||
|   $lw:7em; | ||||
|   $lw:10em; | ||||
|   label{ | ||||
|     display: inline-block; | ||||
|     width:$lw; | ||||
| @@ -2712,6 +2712,22 @@ form#user-pass{ | ||||
|     margin:0; | ||||
|     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{ | ||||
|     background-color: $color-base; | ||||
|     margin:0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user