@Html.HiddenFor(model => model.ProjectId, new { @class = "item-project-id" })
@Html.HiddenFor(model => model.SourceProjectId, new { @class = "item-sourceproject-id" })
@Html.HiddenFor(model => model.TargetProjectId, new { @class = "item-targetproject-id" })
@Html.HiddenFor(model => model.Id, new { @class = "item-id" })
@Html.HiddenFor(model => model.Level, new { @class = "item-level" })
@Html.HiddenFor(model => model.ProjectName, new { @class = "item-project-name" })
@Html.HiddenFor(model => model.SourceEndDate, new { @class = "item-source-end-date" })
@Html.HiddenFor(model => model.SourceProjectName, new { @class = "item-sourceproject-name" })
@Html.HiddenFor(model => model.SourceStartDate, new { @class = "item-source-start-date" })
@Html.HiddenFor(model => model.TargetEndDate, new { @class = "item-target-end-date" })
@Html.HiddenFor(model => model.TargetProjectName, new { @class = "item-targetproject-name" })
@Html.HiddenFor(model => model.TargetStartDate, new { @class = "item-target-start-date" })
@Html.HiddenFor(model => model.Type, new { @class = "item-type" })
@Html.HiddenFor(model => model.IsDateRequired, new { @class = "item-date-required" })
@Html.HiddenFor(model => model.OldStartDate, new { @class = "item-old-start-date" })
@Html.HiddenFor(model => model.OldEndDate, new { @class = "item-old-end-date" })
@Html.HiddenFor(model => model.IsNew, new { @class = "item-isnew" })
@Html.HiddenFor(model => model.IsDeleted, new { @class = "item-isdeleted" })
@Html.HiddenFor(model => model.IsActionRequired, new { @class = "item-action-required" })
@Html.HiddenFor(model => model.MinAvailableScenarioStartDate, new { @class = "item-min-available-scenario-start-date" })
@Html.HiddenFor(model => model.MaxAvailableScenarioStartDate, new { @class = "item-max-available-scenario-start-date" })
@if (Model.AvailableMoveTypes.Contains(DependencyResolveModel.ActionType.MoveWith))
{
@Html.RadioButtonFor(model => model.Action, DependencyResolveModel.ActionType.MoveWith, new { id = Html.IdFor(t => t.Action) + "_2", @class = "form-control item-action" }) Move With
}
@if (Model.AvailableMoveTypes.Contains(DependencyResolveModel.ActionType.DontMove))
{
@Html.RadioButtonFor(model => model.Action, DependencyResolveModel.ActionType.DontMove, new { id = Html.IdFor(t => t.Action) + "_3", @class = "form-control item-action" }) Don't Move
}
@if (Model.AvailableMoveTypes.Contains(DependencyResolveModel.ActionType.CustomMove))
{
@Html.RadioButtonFor(model => model.Action, DependencyResolveModel.ActionType.CustomMove, new { id = Html.IdFor(t => t.Action) + "_4", @class = "form-control item-action" }) Custom
}
@if (Model.AvailableMoveTypes.Contains(DependencyResolveModel.ActionType.ConvertToLink))
{
@Html.RadioButtonFor(model => model.Action, DependencyResolveModel.ActionType.ConvertToLink, new { id = Html.IdFor(t => t.Action) + "_0", @class = "form-control item-action" })
}
@if (Model.AvailableMoveTypes.Contains(DependencyResolveModel.ActionType.RemoveDependency))
{
@Html.RadioButtonFor(model => model.Action, DependencyResolveModel.ActionType.RemoveDependency, new { id = Html.IdFor(t => t.Action) + "_1", @class = "form-control item-action" })
}
@Html.EditorFor(x => x.MoveStartDate, new { htmlAttributes = new { @class = "form-control item-custom-start-date" } })
@Html.ValidationMessageFor(model => model.MoveStartDate)
@Html.ValidationMessageFor(model => model.Action)