Add "form-control" class to add forum category page

This commit is contained in:
Michael 2017-03-21 13:21:41 -04:00
parent bf85c3cda2
commit 8f9aeef8b1

View file

@ -21,22 +21,22 @@
<table class="table-condensed">
<tr>
<td>@Html.DisplayNameFor(Model => Model.Name)</td>
<td>@Html.TextBoxFor(Model => Model.Name)</td>
<td>@Html.TextBoxFor(Model => Model.Name, new { @class = "form-control" })</td>
</tr>
<tr>
<td>@Html.DisplayNameFor(Model => Model.Description)</td>
<td>@Html.TextBoxFor(Model => Model.Description)</td>
<td>@Html.TextBoxFor(Model => Model.Description, new { @class = "form-control" })</td>
</tr>
<tr>
<td>@Html.DisplayNameFor(Model => Model.Parent)</td>
<td>@Html.DropDownListFor(Model => Model.Parent, Model.PossibleParents)</td>
<td>@Html.DropDownListFor(Model => Model.Parent, Model.PossibleParents, new { @class = "form-control" })</td>
</tr>
</table>
<h4>ACL rule definitions</h4>
<p>ACL rules for this forum can be edited in the Access Control section. Additionally, you can select an existing forum to copy ACL data from.</p>
<p><strong>Copy ACL data from: </strong>@Html.DropDownListFor(Model=>Model.StealPermissionsFrom, Model.PossibleParents)</p>
<p><strong>Copy ACL data from: </strong>@Html.DropDownListFor(Model=>Model.StealPermissionsFrom, Model.PossibleParents, new { @class = "form-control" })</p>
<p>Leave this value as "Top Level" to not copy permissions. Default permission values are 'Can Post' for all roles.</p>
<h4>Adding new roles</h4>
<p>When you add a new role to the site, the ACL system will automatically add it to this forum, however its permission data will be set to the default "Can Post" value.</p>