diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index 204df59d6d..a949c7dd52 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -116,9 +116,8 @@ angular.module('Tower', [ 'LoadConfigHelper', 'SocketHelper', 'AboutAnsibleHelpModal', - 'SurveyMakerFormDefinition', 'SurveyQuestionFormDefinition', - 'SurveyTakerFormDefinition' + ]) diff --git a/awx/ui/static/js/forms/SurveyTaker.js b/awx/ui/static/js/forms/SurveyTaker.js deleted file mode 100644 index aef71c8214..0000000000 --- a/awx/ui/static/js/forms/SurveyTaker.js +++ /dev/null @@ -1,65 +0,0 @@ -/********************************************* - * Copyright (c) 2014 AnsibleWorks, Inc. - * - * SurveyMaker.js - * Form definition for survey maker model - * - * - */ - /** - * @ngdoc function - * @name forms.function:SurveyMaker - * @description This form is for adding/editing a survey -*/ -angular.module('SurveyTakerFormDefinition', []) - .value('SurveyTakerForm', { - - // addTitle: 'Add Survey', //Title in add mode - // editTitle: 'Edit Survey', //Title in edit mode - name: 'survey_taker', //entity or model name in singular form - // // well: true, - breadCrumbs: false, - // twoColumns: true, - // // collapse: true, - // collapseTitle: "Properties", - // collapseMode: 'edit', - // collapseOpen: true, - - // actions: { - // stream: { - // 'class': "btn-primary btn-xs activity-btn", - // ngClick: "showActivity()", - // awToolTip: "View Activity Stream", - // dataPlacement: "top", - // icon: "icon-comments-alt", - // mode: 'edit', - // iconSize: 'large' - // } - // }, - - fields: { - survey_name: { - type: 'custom', - control: '
'+ - '
'+//'+ - '
' + - '
'+ - //''+ - '
' - - }, - - }, - - buttons: { //for now always generates