From 4aad210810fdcc9860987a044ad317eaabcec82e Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sun, 28 Jan 2018 15:14:24 +1100 Subject: [PATCH] Add in cancel_button_text and submit_button_text fields to the civicrm_uf schema in crm.uf.js --- js/model/crm.uf.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/js/model/crm.uf.js b/js/model/crm.uf.js index c64dcda0b4..c6c769e84b 100644 --- a/js/model/crm.uf.js +++ b/js/model/crm.uf.js @@ -519,6 +519,16 @@ 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 -- 2.25.1