FIXME Razor page errors
This commit is contained in:
parent
123283f277
commit
1a1f560ee4
234 changed files with 859 additions and 856 deletions
|
|
@ -1,18 +1,18 @@
|
|||
@model Activity
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Create"];
|
||||
ViewData["Title"] = "Create";
|
||||
}
|
||||
|
||||
<h2>@SR["Create"]</h2>
|
||||
<h2>Create</h2>
|
||||
|
||||
<form asp-action="Create">
|
||||
<div class="form-horizontal">
|
||||
<h4>@SR["Activity"]</h4>
|
||||
<h4>Activity</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Code" class="col-md-2 control-label">@SR["Code"]</label>
|
||||
<label asp-for="Code" class="col-md-2 control-label">Code</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="Code" class="form-control" />
|
||||
<span asp-validation-for="Code" class="text-danger" ></span>
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Name" class="col-md-2 control-label">
|
||||
@SR["Name"]</label>
|
||||
Name"]</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="Name" class="form-control" />
|
||||
<span asp-validation-for="Name" class="text-danger" ></span>
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Parent" class="col-md-2 control-label">
|
||||
@SR["Parent"]</label>
|
||||
Parent"]</label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="ParentCode" asp-items=@ViewBag.ParentCode class="form-control" >
|
||||
</select>
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Description" class="col-md-2 control-label">
|
||||
@SR["Description"]</label>
|
||||
Description"]</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="Description" class="form-control" />
|
||||
<span asp-validation-for="Description" class="text-danger" ></span>
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Photo" class="col-md-2 control-label">
|
||||
@SR["Photo"]
|
||||
Photo"]
|
||||
</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="Photo" class="form-control" />
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="SettingsClassName" class="col-md-2 control-label">
|
||||
@SR["SettingsClass"]
|
||||
SettingsClass"]
|
||||
</label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="SettingsClassName" class="form-control" asp-items="@ViewBag.SettingsClassName">
|
||||
|
|
@ -67,14 +67,14 @@
|
|||
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<input type="submit" value="@SR["Create"]" class="btn btn-default" />
|
||||
<input type="submit" value="Create"]" class="btn btn-default" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
@model Activity
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Delete"];
|
||||
ViewData["Title"] = "Delete";
|
||||
}
|
||||
|
||||
<h2>@SR["Delete"]</h2>
|
||||
<h2>Delete</h2>
|
||||
|
||||
<h3>@SR["AreYourSureYouWantToDeleteThis"]</h3>
|
||||
<h3>AreYourSureYouWantToDeleteThis</h3>
|
||||
<div>
|
||||
<h4>Activity</h4>
|
||||
<hr />
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
@model Activity
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Details"];
|
||||
ViewData["Title"] = "Details";
|
||||
}
|
||||
|
||||
<h2>@SR["Details"]</h2>
|
||||
<h2>Details</h2>
|
||||
|
||||
<div>
|
||||
<h4>Activity</h4>
|
||||
|
|
@ -33,5 +33,5 @@
|
|||
</div>
|
||||
<p>
|
||||
<a asp-action="Edit" asp-route-id="@Model.Code">Edit</a> |
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@
|
|||
ViewData["Title"] = "Edit";
|
||||
}
|
||||
|
||||
<h2>@SR["Edit"]</h2>
|
||||
<h2>Edit</h2>
|
||||
|
||||
<form asp-action="Edit">
|
||||
<div class="form-horizontal">
|
||||
<h4>@SR["Activity"] @Model.Code</h4>
|
||||
<h4>Activity @Model.Code</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
<input type="hidden" asp-for="Code" />
|
||||
<div class="form-group">
|
||||
<label asp-for="Name" class="col-md-2 control-label"></label>
|
||||
|
|
@ -77,7 +77,7 @@
|
|||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@model IEnumerable<Activity>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Index"];
|
||||
ViewData["Title"] = "Index";
|
||||
}
|
||||
@section scripts {
|
||||
<script>
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
<h2>@ViewData["Title"]</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">@SR["Create New"]</a>
|
||||
<a asp-action="Create">Create New</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue