adding updated survey maker with no survey name or survey description

This commit is contained in:
Jared Tabor
2014-10-03 20:00:08 -04:00
parent be7819e3d7
commit 752f2d8013
4 changed files with 213 additions and 57 deletions

View File

@@ -16,7 +16,7 @@ angular.module('SurveyQuestionFormDefinition', [])
addTitle: 'Add Question',
// editTitle: '{{ survey_name }}',
name: 'question_unique',
name: 'survey_question',
well: true,
twoColumns: true,
@@ -152,8 +152,9 @@ angular.module('SurveyQuestionFormDefinition', [])
// checked: true,
addRequired: false,
editRequired: false,
column: 2
// trueValue: true
column: 2,
// trueValue: true,
// falseValue: false
// label: 'Answer required or optional',
// type: 'custom',
// column: 2,
@@ -183,9 +184,9 @@ angular.module('SurveyQuestionFormDefinition', [])
// },
},
buttons: {
submit_quesiton: {
submit_question: {
ngClick: 'submitQuestion()',
ngDisabled: true,
ngDisabled: '!question_name || !variable || !type',
'class': 'btn btn-sm btn-primary',
label: 'Add Question'
}