From a0d2c4536111a08dffbe94941b897c33bf239750 Mon Sep 17 00:00:00 2001 From: Ganesh Jaybhay Date: Tue, 22 Jan 2019 11:22:32 +0530 Subject: [PATCH] 1. Proper alignment of help message with date time control. 2. Added help-block class for helpMessageClassName. --- web/pgadmin/static/js/backform.pgadmin.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/pgadmin/static/js/backform.pgadmin.js b/web/pgadmin/static/js/backform.pgadmin.js index 545dcd779..a4ed36be6 100644 --- a/web/pgadmin/static/js/backform.pgadmin.js +++ b/web/pgadmin/static/js/backform.pgadmin.js @@ -41,6 +41,7 @@ define([ accordianGroupClassName: 'accordian-group pg-el-12', accordianContentClassName: 'accordian-content pg-el-12', hiddenClassName: 'd-none', + helpMessageClassName: 'form-text text-muted help-block', }); Backform.controlMapper = { @@ -2501,12 +2502,10 @@ define([ '
', ' ', '
', - '', '<% if (helpMessage && helpMessage.length) { %>', - '
', ' <%=helpMessage%>', - '
', '<% } %>', + '', ].join('\n')), render: function() { var field = _.defaults(this.field.toJSON(), this.defaults),