presentation & tools
This commit is contained in:
@ -30,16 +30,16 @@
|
||||
@:<html>
|
||||
@:<head>
|
||||
@:<meta name="viewport" content="width=device-width" />
|
||||
@:<title>@Model.ViewName</title>
|
||||
@:<title>@@SR[@Model.ViewName]</title>
|
||||
@:</head>
|
||||
@:<body>
|
||||
@:
|
||||
// PushIndent(" ");
|
||||
}
|
||||
}
|
||||
<h3>Are you sure you want to delete this?</h3>
|
||||
<h3>@@SR["AreYourSureYouWantToDeleteThis"]</h3>
|
||||
<div>
|
||||
<h4>@Model.ViewDataTypeShortName</h4>
|
||||
<h4>@@SR[@Model.ViewDataTypeShortName]</h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
@{
|
||||
@ -59,7 +59,7 @@
|
||||
@:
|
||||
@:<form asp-action="@Model.ViewName">
|
||||
@:<div class="form-actions no-color">
|
||||
@:<input type="submit" value="Delete" class="btn btn-default" /> |
|
||||
@:<input type="submit" value="@@SR["Delete"]" class="btn btn-default" /> |
|
||||
@:<a asp-action="Index">@@SR["Back to List"]</a>
|
||||
@:</div>
|
||||
@:</form>
|
||||
|
@ -66,7 +66,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
@:@@Html.ActionLink("Edit", "Edit", new { /* id = Model.PrimaryKey */ }) |
|
||||
@:@@Html.ActionLink(@@SR["Edit"], "Edit", new { /* id = Model.PrimaryKey */ }) |
|
||||
@:<a asp-action="Index">@@SR["Back to List"]</a>
|
||||
}
|
||||
}</p>
|
||||
|
@ -60,8 +60,8 @@
|
||||
@:<div class="form-group">
|
||||
@:<label asp-for="@property.PropertyName" class="control-label col-md-2">@GetAssociationName(property)</label>
|
||||
@:<div class="col-md-10">
|
||||
@:<select asp-for="@property.PropertyName" class="form-control" />
|
||||
@:<span asp-validation-for="@property.PropertyName" class="text-danger" />
|
||||
@:<select asp-for="@property.PropertyName" class="form-control" ></select>
|
||||
@:<span asp-validation-for="@property.PropertyName" class="text-danger" ></span>
|
||||
@:</div>
|
||||
@:</div>
|
||||
continue;
|
||||
|
@ -77,9 +77,9 @@
|
||||
else
|
||||
{
|
||||
<td>
|
||||
@@Html.ActionLink("Edit", SR["Edit"], new { /* id=item.PrimaryKey */ }) |
|
||||
@@Html.ActionLink("Details", SR["Details"], new { /* id=item.PrimaryKey */ }) |
|
||||
@@Html.ActionLink("Delete", SR["Delete"], new { /* id=item.PrimaryKey */ })
|
||||
@@Html.ActionLink(SR["Edit"], "Edit",new { /* id=item.PrimaryKey */ }) |
|
||||
@@Html.ActionLink(SR["Details"], "Details", new { /* id=item.PrimaryKey */ }) |
|
||||
@@Html.ActionLink(SR["Delete"], "Delete", new { /* id=item.PrimaryKey */ })
|
||||
</td>
|
||||
}
|
||||
@:</tr>
|
||||
|
Reference in New Issue
Block a user