Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var fields = {
- "1":{
- "retour":{
- "destination":[
- {
- "html":"<input id=\"id_retour_destination_adresse\" name=\"retour_destination_adresse\" type=\"text\" />",
- "label":"Adresse"
- },
- {
- "html":"<input id=\"id_retour_destination_code_postal\" name=\"retour_destination_code_postal\" type=\"number\" />",
- "label":"Code postal"
- }
- ],
- "prise_en_charge":[
- {
- "html":"<input id=\"id_retour_prise_en_charge_adresse\" name=\"retour_prise_en_charge_adresse\" type=\"text\" />",
- "label":"Adresse"
- },
- {
- "html":"<input id=\"id_retour_prise_en_charge_code_postal\" name=\"retour_prise_en_charge_code_postal\" type=\"number\" />",
- "label":"Code postal"
- }
- ]
- },
- "aller":{
- "destination":[
- {
- "html":"<input id=\"id_aller_destination_adresse\" name=\"aller_destination_adresse\" type=\"text\" />",
- "label":"Adresse"
- },
- {
- "html":"<input id=\"id_aller_destination_code_postal\" name=\"aller_destination_code_postal\" type=\"number\" />",
- "label":"Code postal"
- }
- ],
- "prise_en_charge":[
- {
- "html":"<input id=\"id_aller_prise_en_charge_adresse\" name=\"aller_prise_en_charge_adresse\" type=\"text\" />",
- "label":"Adresse"
- },
- {
- "html":"<input id=\"id_aller_prise_en_charge_code_postal\" name=\"aller_prise_en_charge_code_postal\" type=\"number\" />",
- "label":"Code postal"
- }
- ]
- }
- },
- "2":{
- "retour":{
- "destination":[
- ],
- "prise_en_charge":[
- ]
- },
- "aller":{
- "destination":[
- ],
- "prise_en_charge":[
- ]
- }
- },
- "3":{
- "retour":{
- "destination":[
- {
- "html":"<input id=\"id_retour_destination_numero_vol\" name=\"retour_destination_numero_vol\" type=\"text\" />",
- "label":"Num\u00e9ro de vol"
- },
- {
- "html":"<input id=\"id_retour_destination_heure_vol\" name=\"retour_destination_heure_vol\" type=\"text\" />",
- "label":"Heure de vol"
- }
- ],
- "prise_en_charge":[
- {
- "html":"<input id=\"id_retour_prise_en_charge_numero_vol\" name=\"retour_prise_en_charge_numero_vol\" type=\"text\" />",
- "label":"Num\u00e9ro de vol"
- }
- ]
- },
- "aller":{
- "destination":[
- {
- "html":"<input id=\"id_aller_destination_numero_vol\" name=\"aller_destination_numero_vol\" type=\"text\" />",
- "label":"Num\u00e9ro de vol"
- },
- {
- "html":"<input id=\"id_aller_destination_heure_vol\" name=\"aller_destination_heure_vol\" type=\"text\" />",
- "label":"Heure de vol"
- }
- ],
- "prise_en_charge":[
- {
- "html":"<input id=\"id_aller_prise_en_charge_provenance_vol\" name=\"aller_prise_en_charge_provenance_vol\" type=\"text\" />",
- "label":"Provenance du vol"
- },
- {
- "html":"<input id=\"id_aller_prise_en_charge_numero_vol\" name=\"aller_prise_en_charge_numero_vol\" type=\"text\" />",
- "label":"Num\u00e9ro de vol"
- }
- ]
- }
- },
- "4":{
- "retour":{
- "destination":[
- {
- "html":"<input id=\"id_retour_destination_hotel\" list=\"datalist_retour_destination_hotel\" name=\"retour_destination_hotel\" type=\"text\" /><datalist id=\"datalist_retour_destination_hotel\"><option value=\"H\u00f4tel Sofitel Rabat\"></datalist>",
- "label":"H\u00f4tel"
- }
- ],
- "prise_en_charge":[
- {
- "html":"<input id=\"id_retour_prise_en_charge_hotel\" list=\"datalist_retour_prise_en_charge_hotel\" name=\"retour_prise_en_charge_hotel\" type=\"text\" /><datalist id=\"datalist_retour_prise_en_charge_hotel\"><option value=\"H\u00f4tel Sofitel Rabat\"></datalist>",
- "label":"H\u00f4tel"
- }
- ]
- },
- "aller":{
- "destination":[
- {
- "html":"<input id=\"id_aller_destination_hotel\" list=\"datalist_aller_destination_hotel\" name=\"aller_destination_hotel\" type=\"text\" /><datalist id=\"datalist_aller_destination_hotel\"><option value=\"H\u00f4tel Sofitel Rabat\"></datalist>",
- "label":"H\u00f4tel"
- }
- ],
- "prise_en_charge":[
- {
- "html":"<input id=\"id_aller_prise_en_charge_hotel\" list=\"datalist_aller_prise_en_charge_hotel\" name=\"aller_prise_en_charge_hotel\" type=\"text\" /><datalist id=\"datalist_aller_prise_en_charge_hotel\"><option value=\"H\u00f4tel Sofitel Rabat\"></datalist>",
- "label":"H\u00f4tel"
- }
- ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement