mef
This commit is contained in:
parent
828b492d04
commit
0280a514d0
1 changed files with 6 additions and 2 deletions
|
|
@ -3,7 +3,9 @@
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Edit";
|
ViewData["Title"] = "Edit";
|
||||||
}
|
}
|
||||||
|
@section scripts {
|
||||||
|
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
|
||||||
|
}
|
||||||
<h2>@SR["Edit"]</h2>
|
<h2>@SR["Edit"]</h2>
|
||||||
|
|
||||||
<form asp-action="Edit">
|
<form asp-action="Edit">
|
||||||
|
|
@ -15,7 +17,9 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label asp-for="Body" class="col-md-2 control-label"></label>
|
<label asp-for="Body" class="col-md-2 control-label"></label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<textarea asp-for="Body" class="form-control" />
|
<code><pre class="prettyprint">@Model.Body</pre>
|
||||||
|
<textarea Id="Body" Name="Body" class="form-control" >@Model.Body</textarea>
|
||||||
|
</code>
|
||||||
<span asp-validation-for="Body" class="text-danger" ></span>
|
<span asp-validation-for="Body" class="text-danger" ></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue