2020-05-24 02:12:37 +01: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">
|
2020-02-10 22:44:18 +00:00
|
|
|
<div asp-validation-summary="ModelOnly" class="text-danger">
|
2019-06-01 22:59:18 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
2020-02-10 22:44:18 +00:00
|
|
|
<label asp-for="Screen" class="control-label">
|
2019-06-01 22:59:18 +01:00
|
|
|
</label>
|
2020-02-10 22:44:18 +00:00
|
|
|
<select asp-for="ScreenId" class="form-control" asp-items="ViewBag.ScreenId">
|
2019-06-01 22:59:18 +01:00
|
|
|
</select>
|
2020-02-10 22:44:18 +00:00
|
|
|
<span asp-validation-for="ScreenId" class="text-danger">
|
2019-06-02 01:31:22 +01:00
|
|
|
</span>
|
2019-06-01 22:59:18 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
2020-02-10 22:44:18 +00:00
|
|
|
<label asp-for="Resolution" class="control-label">
|
2019-06-01 22:59:18 +01:00
|
|
|
</label>
|
2020-02-10 22:44:18 +00:00
|
|
|
<select asp-for="ResolutionId" class="form-control" asp-items="ViewBag.ResolutionId">
|
2019-06-01 22:59:18 +01:00
|
|
|
</select>
|
2020-02-10 22:44:18 +00:00
|
|
|
<span asp-validation-for="ResolutionId" class="text-danger">
|
2019-06-02 01:31:22 +01:00
|
|
|
</span>
|
2019-06-01 22:59:18 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
2020-02-10 22:44:18 +00:00
|
|
|
<input class="btn btn-primary" type="submit" value="Create" />
|
|
|
|
|
<a asp-action="Index" class="btn btn-secondary">
|
2019-06-02 01:31:22 +01:00
|
|
|
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"); }
|
|
|
|
|
}
|