Mineplex2018-withcommit/Website/Nautilus.Web.Impulse/Areas/Manage/Views/Accounts/_CreateOrEdit.cshtml

37 lines
965 B
Plaintext
Raw Normal View History

2013-08-27 17:14:08 +02:00
@model LOC.Core.Model.Account.Account
@* This partial view defines form fields that will appear when creating and editing entities *@
<div class="editor-label">
@Html.LabelFor(model => model.Name)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Name)
@Html.ValidationMessageFor(model => model.Name)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.Banned)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Banned)
@Html.ValidationMessageFor(model => model.Banned)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.Reason)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Reason)
@Html.ValidationMessageFor(model => model.Reason)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.Expires)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Expires)
@Html.ValidationMessageFor(model => model.Expires)
</div>