@using GreenTree.Nachtragsmanagement.Web.Extensions

@model GreenTree.Nachtragsmanagement.Web.Models.Misc.HelpPageDataModel

<div class="helpPageMenu">
	<div style="float: left; overflow: auto">
		@Html.DevExpress().Button(b =>
		{
			b.Name = "devButtonEditHelpPage";
			b.Text = "Bearbeiten";
			b.UseSubmitBehavior = false;
			//b.RenderMode = ButtonRenderMode.Link;
			b.ClientSideEvents.Click = "function (s, e) { editHelpPage(" + Model.Id + "); }";
		}).GetHtml()
	</div>
	<div style="float: left; overflow: auto; margin-left: 16px">
		@Html.DevExpress().Button(b =>
		{
			b.Name = "devButtonDeleteHelpPage";
			b.Text = "Löschen";
			b.UseSubmitBehavior = false;
			//b.RenderMode = ButtonRenderMode.Link;
			b.ClientSideEvents.Click = "function (s, e) { confirmDelete(" + Model.Id + "); }";
		}).GetHtml()
	</div>
</div>

@Html.Raw(Model.Content)