     currentSum = stackTemplate?.template?.sum
 
     updateStackTemplate {
-      template, description, templateDetails
+      template, description, rawContent, templateDetails
       credentials, stackTemplate, title, config
     }, (err, stackTemplate) =>
 

StackTemplateView    = require './stacktemplateview'
CredentialStatusView = require './credentialstatusview'

module.exports = class DefineStackView extends KDView


  constructor: (options = {}, data) ->


    { title }         = @inputTitle.getData()
    templateContent   = @stackTemplateView.editorView.getValue()
    description       = @readmeView.editorView.getValue() # aka readme
    rawContent        = templateContent

    # TODO split following into their own helper methods
    # and call them in here ~ GG
