@model Disco.Web.Areas.Config.Models.DeviceProfile.ShowModel @{ ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Device Profiles", MVC.Config.DeviceProfile.Index(null), Model.DeviceProfile.ToString()); Html.BundleDeferred("~/Style/jQueryUI/dynatree"); Html.BundleDeferred("~/ClientScripts/Modules/jQueryUI-DynaTree"); }
Id: @Html.DisplayFor(model => model.DeviceProfile.Id)
Name: @Html.TextBoxFor(model => model.DeviceProfile.Name) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader()
Short Name: @Html.TextBoxFor(model => model.DeviceProfile.ShortName) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader()
Description: @Html.TextBoxFor(model => model.DeviceProfile.Description) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader()
Distribution Type: @Html.DropDownList("DeviceProfile_DistributionType", Model.DeviceProfileDistributionTypes) @AjaxHelpers.AjaxLoader()
Address: @Html.DropDownListFor(m => m.DeviceProfile.DefaultOrganisationAddress, Model.OrganisationAddresses.ToSelectListItems(Model.DeviceProfile.DefaultOrganisationAddress, true, "None")) @AjaxHelpers.AjaxLoader()
Allocate Certificates: @Html.DropDownListFor(model => model.DeviceProfile.CertificateProviderId, Model.CertificateProviders.ToSelectListItems(null, true, "Not Allocated")) @AjaxHelpers.AjaxLoader()
Computer Name Template Expression: @Html.TextBoxFor(model => model.DeviceProfile.ComputerNameTemplate) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader()  
@AjaxHelpers.AjaxLoader()
@AjaxHelpers.AjaxLoader()
Default Organisational Unit: @Html.HiddenFor(model => model.DeviceProfile.OrganisationalUnit)
Change@AjaxHelpers.AjaxLoader()
@AjaxHelpers.AjaxLoader()

This item will be permanently deleted and cannot be recovered. Are you sure?

@if (Model.CanDelete) { @Html.ActionLinkButton("Delete", MVC.API.DeviceProfile.Delete(Model.DeviceProfile.Id, true), "buttonDelete") } @Html.ActionLinkButton("View Devices", MVC.Search.Query(Model.DeviceProfile.Id.ToString(), "DeviceProfile"))