Add title to response page

pull/1/head
yflory 3 years ago
parent 7472f8cc0e
commit 77d3f037cd

@ -2602,6 +2602,10 @@ define([
var renderResults = APP.renderResults = function (content, answers, showUser) {
var $container = $('div.cp-form-creator-results').empty().css('display', '');
var framework = APP.framework;
var title = framework._.title.title || framework._.title.defaultTitle;
$container.append(h('h1.cp-form-view-title', title));
var answerCount = Object.keys(answers || {}).length;
if (!answerCount) {

Loading…
Cancel
Save