<div ng-controller="Umbraco.PropertyEditors.Grid.MacroController">

	<div class="umb-editor-placeholder" ng-click="setMacro()">
		<div ng-if="!preview">
			<i class="icon icon-settings-alt"></i>
			<div class="help-text">{{title}}</div>
		</div>
		<div ng-if="preview">
			<div
				ng-if="preview" style="text-align: left; pointer-events: none; cursor: default;"
				ng-bind-html-unsafe="preview">
			</div>
		</div>
	</div>

	<umb-overlay
		ng-if="macroPickerOverlay.show"
		model="macroPickerOverlay"
		view="macroPickerOverlay.view"
		position="right">
	</umb-overlay>

</div>
