61 lines
2.5 KiB
Plaintext
61 lines
2.5 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 cat = (Categories)ViewBag.Category;
|
|
}
|
|
|
|
|
|
<div class="col-md-12">
|
|
<h2>@Resource.StaticLabelYearlyParameterCategoryCreateArea1 - @cat.DisplayString()</h2>
|
|
<hr />
|
|
@using (Html.BeginForm())
|
|
{
|
|
@Html.AntiForgeryToken()
|
|
<div class="col-md-1"></div>
|
|
<div class="form-horizontal col-md-10">
|
|
<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" style="padding-top: 10px;">
|
|
<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_Cancel, "Index", "YearlyParameter", new { c = cat }, new { @class = "btn btn-default" })
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
</div>
|
|
|