@model Disco.Web.Areas.Config.Models.JobPreferences.IndexModel @{ Authorization.Require(Claims.Config.JobPreferences.Show); var canConfig = Authorization.Has(Claims.Config.JobPreferences.Configure); }
| Mode: | @if (canConfig)
{
@Html.DropDownListFor(model => model.LocationMode, Model.LocationModeOptions().Select(o => new SelectListItem() { Value = o.Key.ToString(), Text = o.Value }))
@AjaxHelpers.AjaxSave()
@AjaxHelpers.AjaxLoader()
Technicians will be able to specify any value when entering a location. A selection of locations used historically will be offered.
Technicians will be able to specify any value when entering a location. A defined list of location options is suggested.
Technicians are restricted to select a location from the defined list.
|
|---|