Merge pull request #84 from imulus/feature/hide-label
Add "Hide Label" option for full-width Archetypes
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user