diff options
Diffstat (limited to 'Project-Unite/Views/Developer')
| -rw-r--r-- | Project-Unite/Views/Developer/AddWikiCategory.cshtml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Project-Unite/Views/Developer/AddWikiCategory.cshtml b/Project-Unite/Views/Developer/AddWikiCategory.cshtml new file mode 100644 index 0000000..6f188ad --- /dev/null +++ b/Project-Unite/Views/Developer/AddWikiCategory.cshtml @@ -0,0 +1,36 @@ +@model Project_Unite.Models.AddWikiCategoryViewModel +@{ + ViewBag.Title = "Add wiki category"; +} + +<h2>Add wiki category</h2> + +<p>Please fill the form to add a new category.</p> + +@using (Html.BeginForm()) +{ +<div class="panel panel-danger"> + <div class="panel-body"> + @Html.ValidationSummary() + </div> +</div> + +<table class="table"> + <tr> + <td>Category name:</td> + <td> + @Html.TextBoxFor(Model=>Model.Name, new { @class="form-control"}) + </td> + </tr> + <tr> + <td>Parent category:</td> + <td> + @Html.DropDownListFor(Model => Model.ParentId, Model.Parents, new { @class = "form-control" }) + </td> + </tr> + <tr> + <td></td> + <td><input type="submit" value="Add!" /></td> + </tr> +</table> +}
\ No newline at end of file |
