Changes for page Books
Last modified by Jip-jan Alunkel on November 23, 10:59
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -19,46 +19,51 @@ 19 19 "type" : "select", 20 20 "required" : "true", 21 21 "label" : "Type of book", 22 - "aria-label" : "Select the ty pe of book",23 - "data-error-response-type" : "use_label_defin ite_1",22 + "aria-label" : "Select the locality", 23 + "data-error-response-type" : "use_label_defined_1", 24 24 "data-set-space" : "true", 25 - "placeholder" : " Type",25 + "placeholder" : "$services.localization.render('cases.word.locality_select.placeholder')", 26 26 "space-reference" : "books", 27 - "help-block" : "Choose the type of book you would like to add."27 + "help-block" : "Choose the type of book you would like to enter." 28 28 }) 29 29 30 30 #createFormElement($booktype) 31 31 32 -#set($ book_title= {33 - "id" : " book_title",32 +#set($main_complaint = { 33 + "id" : "main_complaint", 34 34 "type" : "text", 35 35 "required" : "true", 36 - "label" : " Titleofthe book",37 - "aria-label" : "Enter the titleofthe book",38 - "placeholder" : " Title",39 - "data-error-response-type" : "use_label_defin ite_1",36 + "label" : "Main complaint", 37 + "aria-label" : "Enter the main complaint", 38 + "placeholder" : "$services.localization.render('cases.wordgroup.main_complaint.placeholder')", 39 + "data-error-response-type" : "use_label_defined_1", 40 40 "data-query-type" : "XWQL.matchTitle", 41 41 "data-query-scope" : "books", 42 42 "data-query-list-type" : "suggest-negate", 43 - "data- query-list-header" : "$services.localization.render('formMaker.line.suggest_negate_list')",43 + "data-suggest-list-header" : "$services.localization.render('cases.line.suggest_negate_list')", 44 44 "data-query-list-contents" : "value", 45 45 "data-create-page" : "true", 46 - "help-block" : ' Whenprovidingatitle ofacommontypeofbook,pleasealso providetheuthorʼslastname,viz. BoerickeMateriaMedica.'46 + "help-block" : 'Please be as concise as possible when you describe the main complaint. For example:<br />"chronic headache with bowel complaints,"<br />"intermittend fever" or<br />"diarrhea."' 47 47 }) 48 48 49 -#createFormElement($ book_title)49 +#createFormElement($main_complaint) 50 50 51 -#set($ publish_year = {52 - "id" : " publish_year",53 - "type" : " number",51 +#set($remedy = { 52 + "id" : "remedy", 53 + "type" : "text", 54 54 "required" : "true", 55 - "label" : "Year of publishing", 56 - "aria-label" : "Enter the year of publishing", 57 - "placeholder" : "Year", 58 - "data-error-response-type" : "use_label_definite_1", 55 + "label" : "Remedy", 56 + "aria-label" : "Choose the remedy", 57 + "placeholder" : "$services.localization.render('cases.word.remedy.placeholder')", 58 + "data-error-response-type" : "use_label_undefined", 59 + "data-query-type" : "JSON.remedies", 60 + "data-query-list-type" : "suggest-select", 61 + "data-suggest-list-header" : "$services.localization.render('cases.line.suggest_select_list')", 62 + "data-query-list-contents" : "value/key", 59 59 "data-create-xobj" : "true", 60 60 "data-xobj-classname" : "books.WebHome", 61 - "data-xobj-fieldname" : "publish_year" 65 + "data-xobj-fieldname" : "remedy", 66 + "help-block" : 'Select the remedy that is central in this case.' 62 62 }) 63 63 64 64 #createFormElement($remedy) ... ... @@ -85,7 +85,7 @@ 85 85 "data-query-type" : "XWQL.matchObject", 86 86 "data-query-scope" : "books", 87 87 "data-query-list-type" : "suggest-select", 88 - "data- query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')",93 + "data-suggest-list-header" : "$services.localization.render('cases.line.suggest_select_list')", 89 89 "data-query-list-contents" : "value", 90 90 "data-create-xobj" : "true", 91 91 "data-xobj-classname" : "books.WebHome",