demo20230512/Areas/admin/Views/ParameterDatabase/Edit.cshtml
2023-05-12 10:20:28 +08:00

50 lines
1.9 KiB
Plaintext

@using Resources
@model Weee.Models.Paramemter.SimaproParameter
@{
ViewBag.Title = Resource.StaticLabelSimaproParameter;
Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}
<div class="col-md-12">
<h2>@Resource.EditSimaproDatabase</h2>
@using (Html.BeginForm("Edit", "ParameterDatabase", new { simaproParameterID = Model.ID }, FormMethod.Post))
{
<div class="form-horizontal">
<h4>@Model.DisplayName</h4>
<hr />
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="form-group">
<label class="control-label col-md-2">@Resource.SimaproName</label>
<div class="col-md-10">
@Html.EditorFor(model => model.DisplayNameEN)
</div>
</div>
<div class="form-group">
<label class="control-label col-md-2">@Resource.ChineseName</label>
<div class="col-md-8">
@Html.EditorFor(model => model.DisplayNameTW)
</div>
</div>
<div class="form-group">
<label class="control-label col-md-2">@Resource.SimpleChineseName</label>
<div class="col-md-8">
@Html.EditorFor(model => model.DisplayNameCN)
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="@Resource.StaticLabelGlobal_Save" class="btn btn-default" />
@Html.ActionLink(Resource.StaticLabelGlobal_BackToList, "Index", null, new { @class = "btn btn-default" })
</div>
</div>
</div>
</div>
}
</div>
<div class="col-md-2"></div>