blob: 230520489b236966ca09649374593f6beeb89ecd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
@model Project_Unite.Models.CreateTopicViewModel
@{
ViewBag.Title = "Post reply";
}
<h2>Post reply</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
@Html.HiddenFor(Model => Model.Category)
<table class="table">
<tr>
<td>@Html.DisplayNameFor(Model => Model.Body)
<p>This is the content of your topic. You can use Markdown formatting to style your post.</p>
</td>
<td>@Html.TextAreaFor(Model => Model.Body, new { @class = "form-control", style = "width:100%", rows = "10" })</td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Post" class="btn btn-primary" /></td>
</tr>
</table>
}
|