Add in cancel_button_text and submit_button_text fields to the civicrm_uf schema...
[civicrm-core.git] / js / model / crm.uf.js
index c64dcda0b4f8f2cc999f2e5e116b39c5595ee900..c6c769e84bdc587d65febda3f06252ac4e5f3a86 100644 (file)
         help: ts('If you are using this profile as a contact signup or edit form, and want to redirect the user to a static URL if they click the Cancel button - enter the complete URL here. If this field is left blank, the built-in Profile form will be redisplayed.'),
         type: 'Text'
       },
+      'cancel_button_text': {
+        title: ts('Cancel Button Text'),
+        help: ts('Text to display on the cancel button when used in create or edit mode'),
+        type: 'Text'
+      },
+      'submit_button_text': {
+        title: ts('Submit Button Text'),
+        help: ts('Text to display on the submit button when used in create or edit mode'),
+        type: 'Text'
+      },
       'created_date': {
         //title: ts(''),
         type: 'Text'// FIXME