refactoring the blog post
This commit is contained in:
parent
9289207085
commit
ee1e49fde5
20 changed files with 40 additions and 40 deletions
|
|
@ -12,7 +12,7 @@
|
|||
<table class="table">
|
||||
<tr>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Content)
|
||||
@Html.DisplayNameFor(model => model.Article)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.DateCreated)
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Content)
|
||||
@Html.DisplayFor(modelItem => item.Article)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.DateCreated)
|
||||
|
|
|
|||
Loading…
Reference in a new issue