From 6597d37d19cc6d3677c3aa5fd72e0c609f930168 Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Sat, 16 Apr 2016 15:40:25 -0400 Subject: [PATCH] fixed yes/no field --- gruntfile.js | 3 +++ public/modules/forms/views/directiveViews/field/yes_no.html | 3 ++- public/populate_template_cache.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 784fd6c6..3a5ef13c 100755 --- a/gruntfile.js +++ b/gruntfile.js @@ -151,6 +151,9 @@ module.exports = function(grunt) { }, production: { NODE_ENV: 'production' + }, + default: { + NODE_ENV: 'development' }, src: '/opt/deploy/.env' }, diff --git a/public/modules/forms/views/directiveViews/field/yes_no.html b/public/modules/forms/views/directiveViews/field/yes_no.html index b6e93435..1c6e4b51 100644 --- a/public/modules/forms/views/directiveViews/field/yes_no.html +++ b/public/modules/forms/views/directiveViews/field/yes_no.html @@ -13,6 +13,7 @@
+ {{field.fieldValue}}
diff --git a/public/populate_template_cache.js b/public/populate_template_cache.js index d8db71fc..d4824c81 100644 --- a/public/populate_template_cache.js +++ b/public/populate_template_cache.js @@ -78,7 +78,7 @@ angular.module('NodeForm.templates', []).run(['$templateCache', function($templa $templateCache.put("../public/modules/forms/views/directiveViews/field/textfield.html", "

{{field.title}} *(required)

OK
press ENTER
"); $templateCache.put("../public/modules/forms/views/directiveViews/field/yes_no.html", - "

{{field.title}} *(required)

{{field.description}}


"); + "

{{field.title}} *(required)

{{field.description}}

{{field.fieldValue}}

"); $templateCache.put("../public/modules/forms/views/directiveViews/form/configure-form.client.view.html", "

PDF Generation/EMR

PDF Generation/EMR

Save Submissions as PDFs?
Upload Your PDF Template
{{myform.pdf.originalname}}
Upload your PDF
Autogenerate Form?
Use Oscarhost API?
Oscarhost API Username
Oscarhost API Password
Oscarhost API URL
Oscarhost API Update Type


Advanced Settings

Advanced Settings

Form Name
Form Status
Language
* required
Display Form Footer?
Display Start Page?
"); $templateCache.put("../public/modules/forms/views/directiveViews/form/edit-form.client.view.html",