@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.
Update List Import List
@using (Html.BeginForm(MVC.API.JobPreferences.UpdateLocationList(null, redirect: true)))
{
@Html.AntiForgeryToken()
The List is Empty
}
@using (Html.BeginForm(MVC.API.JobPreferences.ImportLocationList(null, redirect: true)))
{
@Html.AntiForgeryToken()
Enter multiple locations separated by 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. |
|---|