61 lines
2.6 KiB
Plaintext
61 lines
2.6 KiB
Plaintext
@using Weee.Models.Paramemter
|
|
@using Weee.Models.ExtensionMethods
|
|
@using Resources
|
|
|
|
@model Weee.Models.Paramemter.YearlyParameterArea
|
|
|
|
@{
|
|
ViewBag.Title = Resource.StaticLabelYearlyParameterMaintain;
|
|
Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
|
|
var category = (Categories)ViewBag.Category;
|
|
}
|
|
|
|
<div class="col-md-2"></div>
|
|
<div class="col-md-8">
|
|
<h2>@Resource.StaticLabelYearlyParameterCategoryEditArea - @category.DisplayString()</h2>
|
|
<hr />
|
|
@using (Html.BeginForm())
|
|
{
|
|
@Html.AntiForgeryToken()
|
|
@Html.HiddenFor(model => model.ID)
|
|
@Html.HiddenFor(model =>model.CategoryID)
|
|
<div class="form-horizontal">
|
|
<div>
|
|
@Html.ValidationSummary(true)
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.DisplayNameTW, new { @class = "control-label docs-control-label col-xs-3" })
|
|
<div class="col-xs-9">
|
|
@Html.EditorFor(model => model.DisplayNameTW, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.DisplayNameTW, "", new { @class = "text-danger" })
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.DisplayNameCN, new { @class = "control-label docs-control-label col-xs-3" })
|
|
<div class="col-xs-9">
|
|
@Html.EditorFor(model => model.DisplayNameCN, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.DisplayNameCN, "", new { @class = "text-danger" })
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.DisplayNameEN, new { @class = "control-label docs-control-label col-xs-3" })
|
|
<div class="col-xs-9">
|
|
@Html.EditorFor(model => model.DisplayNameEN, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.DisplayNameEN, "", new { @class = "text-danger" })
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div class="col-md-offset-2 col-md-10 text-right">
|
|
<input type="submit" value="@Resource.StaticLabelGlobal_Save" class="btn btn-default" />
|
|
@Html.ActionLink(Resource.StaticLabelGlobal_Delete, "DeleteArea", "YearlyParameterCategory", new { a = Model.ID, category = category }, new { @class = "btn btn-default" })
|
|
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "Index", "YearlyParameter", new { c = category }, new { @class = "btn btn-default" })
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="col-md-2"></div> |