{{#layout/master-sidebar}}
	{{ui/ui-spacer size=300}}

	<div class="section">
		{{#link-to "document.index" model.folder.id model.folder.slug model.document.id model.document.slug}}
			{{ui/ui-button color=constants.Color.Yellow light=true icon=constants.Icon.ArrowLeft label="Document"}}
		{{/link-to}}
	</div>
{{/layout/master-sidebar}}

{{#layout/master-content}}
	{{document/document-editor document=model.document folder=model.folder page=model.page meta=model.meta
		onCancel=(action "onCancel") onAction=(action "onAction")}}
{{/layout/master-content}}
