Merge pull request #84 from imulus/feature/hide-label

Add "Hide Label" option for full-width Archetypes
This commit is contained in:
Tom Fulton
2014-03-17 18:13:44 -06:00
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
angular.module("umbraco").controller("Imulus.ArchetypeController", function ($scope, $http, assetsService, angularHelper, notificationsService, $timeout) {
//$scope.model.value = "";
$scope.model.hideLabel = $scope.model.config.hideLabel == 1;
//get a reference to the current form
var form = angularHelper.getCurrentForm($scope);
+6
View File
@@ -19,6 +19,12 @@
type: "Required"
}
]
},
{
label: "Hide Label",
description: "Hide the Umbraco property title and description, making the Archetype span the entire page width",
key: "hideLabel",
view: "boolean"
}
]
}