2020-02-10 02:10:18 +00:00
|
|
|
@model Marechai.Database.Models.ResolutionsByScreen
|
2019-06-01 22:59:18 +01:00
|
|
|
|
|
|
|
|
@{
|
|
|
|
|
ViewData["Title"] = "Create";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<h1>Create</h1>
|
|
|
|
|
|
2019-06-02 01:31:22 +01:00
|
|
|
<h4>Resolutions by screen</h4>
|
2019-06-01 22:59:18 +01:00
|
|
|
<hr />
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<form asp-action="Create">
|
|
|
|
|
<div asp-validation-summary="ModelOnly"
|
|
|
|
|
class="text-danger">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
2019-06-02 01:31:22 +01:00
|
|
|
<label asp-for="Screen"
|
2019-06-01 22:59:18 +01:00
|
|
|
class="control-label">
|
|
|
|
|
</label>
|
|
|
|
|
<select asp-for="ScreenId"
|
|
|
|
|
class="form-control"
|
|
|
|
|
asp-items="ViewBag.ScreenId">
|
|
|
|
|
</select>
|
2019-06-02 01:31:22 +01:00
|
|
|
<span asp-validation-for="ScreenId"
|
|
|
|
|
class="text-danger">
|
|
|
|
|
</span>
|
2019-06-01 22:59:18 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
2019-06-02 01:31:22 +01:00
|
|
|
<label asp-for="Resolution"
|
2019-06-01 22:59:18 +01:00
|
|
|
class="control-label">
|
|
|
|
|
</label>
|
|
|
|
|
<select asp-for="ResolutionId"
|
|
|
|
|
class="form-control"
|
|
|
|
|
asp-items="ViewBag.ResolutionId">
|
|
|
|
|
</select>
|
2019-06-02 01:31:22 +01:00
|
|
|
<span asp-validation-for="ResolutionId"
|
|
|
|
|
class="text-danger">
|
|
|
|
|
</span>
|
2019-06-01 22:59:18 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<input class="btn btn-primary"
|
|
|
|
|
type="submit"
|
|
|
|
|
value="Create" />
|
2019-06-02 01:31:22 +01:00
|
|
|
<a asp-action="Index"
|
|
|
|
|
class="btn btn-secondary">
|
|
|
|
|
Back to List
|
|
|
|
|
</a>
|
2019-06-01 22:59:18 +01:00
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2019-06-02 01:31:22 +01:00
|
|
|
@section Scripts {
|
|
|
|
|
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
|
|
|
|
|
}
|