var myYamlTextArea = document.getElementById("code_editor_yaml");
editorYaml = CodeMirror(function (elt) {
myYamlTextArea.parentNode.replaceChild(elt, myYamlTextArea);
}, yaml_editor_settings);
var des_strings = {{descriptor_strings | safe}};
editorYaml.setValue(des_strings.descriptor_string_yaml);
var myYamlTextArea = document.getElementById("code_editor_yaml");
editorYaml = CodeMirror(function (elt) {
myYamlTextArea.parentNode.replaceChild(elt, myYamlTextArea);
}, yaml_editor_settings);
var des_strings = {{descriptor_strings | safe}};
editorYaml.setValue(des_strings.descriptor_string_yaml);