@using LeafWeb.WebCms.Controllers @model LeafInputDetails

Actions

@Html.Partial("DisplayTemplates/_ChartButton", Model.LeafInputId, new ViewDataDictionary { { "Disabled", !Model.HasLeafChart } }) Download Input Download ToUser @using (Html.BeginUmbracoForm( "SendUserDownloadLink", null, new { @class = "confirm", confirm_msg = "Confirm sending email to user" })) { } @*@using (Html.BeginUmbracoForm( "SendUserChartLink", null, new { @class = "confirm", confirm_msg = "Confirm sending email to user" })) { }*@ @DeleteLink(Model.LeafInputId, Model.Identifier, Model.IsDeletable)
@Html.DisplayForModel()
@helper DeleteLink(int id, string identifier, bool deletable) { using (Html.BeginUmbracoForm( "Delete", null, new { @class = "confirm", confirm_msg = "Deletion cannot be undone! Confirm deleting '" + identifier + "'." })) { } }