summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Forum/PostReply.cshtml
blob: 6080a79240e7e4cc6e237671aeb64fc6838f4f34 (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
28
29
30
31
@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><strong>Subject:</strong></td>
            <td>@Html.TextBoxFor(Model=>Model.Subject, new{@class="form-control"})</td>
        </tr>
        <tr>
            <td style="width:25%;">@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>


}