diff --git a/app/directives/archetypeproperty.js b/app/directives/archetypeproperty.js index 17dbef2..a66198a 100644 --- a/app/directives/archetypeproperty.js +++ b/app/directives/archetypeproperty.js @@ -110,7 +110,7 @@ angular.module("umbraco").directive('archetypeProperty', function ($compile, $ht scope.model.config = config; //some items need an alias - scope.model.alias = "scope-" + scope.$id; + scope.model.alias = "archetype-property-" + scope.fieldsetIndex + "-" + scope.propertyConfigIndex; //watch for changes since there is no two-way binding with the local model.value scope.$watch('model.value', function (newValue, oldValue) { diff --git a/app/less/archetype.less b/app/less/archetype.less index c07f7de..49bad45 100644 --- a/app/less/archetype.less +++ b/app/less/archetype.less @@ -45,6 +45,7 @@ float: left; width: 80%; margin-bottom: 0; + margin-left: 5px; padding: 0; } } @@ -91,6 +92,7 @@ .archetypeEditor .archetypeDeveloperModel { + font-family: monospace; width: 98%; min-height: 100px; margin-bottom: 10px; diff --git a/app/views/archetype.html b/app/views/archetype.html index 70c2c89..fc1c396 100644 --- a/app/views/archetype.html +++ b/app/views/archetype.html @@ -1,13 +1,13 @@