demo20230512/Areas/Certification/Views/Account/UpdateCompanyInfo.cshtml

113 lines
5.1 KiB
Plaintext
Raw Normal View History

2023-05-12 10:20:28 +08:00
@using Resources
@model Weee.Models.CertificationCompany
@{
ViewBag.Title = "Update Company Info";
Layout = "~/Areas/Certification/Views/Shared/_CertificationLayout.cshtml";
}
@using (Html.BeginForm("UpdateCompanyInfo", "Account", FormMethod.Post, new { @class = "form-horizontal" }))
{
@Html.AntiForgeryToken()
<div class="row panel panel-default">
<div class="col-xs-12">
<h2>@Resource.EditCompanyInfo</h2>
<hr />
</div>
<div class="col-xs-12">
<div class="col-xs-11">
<div class="form-group">
@Html.LabelFor(m => m.Name, new { @class = "col-sm-4 control-label" })
<div class="col-sm-8">
@Html.EditorFor(m => m.Name, new { htmlAttributes = new { @class = "form-control" } })
<span class="docs-validate-area">
@ViewBag.PasswordIsInvalid
@Html.ValidationMessageFor(m => m.Name, "", new { @class = "text-danger" })
</span>
</div>
</div>
<div class="form-group">
@Html.LabelFor(m => m.EnglishName, new { @class = "col-sm-4 control-label" })
<div class="col-sm-8">
@Html.EditorFor(m => m.EnglishName, new { htmlAttributes = new { @class = "form-control" } })
<span class="docs-validate-area">
@ViewBag.PasswordIsInvalid
@Html.ValidationMessageFor(m => m.EnglishName, "", new { @class = "text-danger" })
</span>
</div>
</div>
<div class="form-group">
@Html.LabelFor(m => m.Address, new { @class = "col-sm-4 control-label" })
<div class="col-sm-8">
@Html.EditorFor(m => m.Address, new { htmlAttributes = new { @class = "form-control" } })
<span class="docs-validate-area">
@ViewBag.PasswordIsInvalid
@Html.ValidationMessageFor(m => m.Address, "", new { @class = "text-danger" })
</span>
</div>
</div>
<div class="form-group">
@Html.LabelFor(m => m.VATNumber, new { @class = "col-sm-4 control-label" })
<div class="col-sm-8">
@Html.EditorFor(m => m.VATNumber, new { htmlAttributes = new { @class = "form-control" } })
<span class="docs-validate-area">
@ViewBag.PasswordIsInvalid
@Html.ValidationMessageFor(m => m.VATNumber, "", new { @class = "text-danger" })
</span>
</div>
</div>
<div class="form-group">
@Html.LabelFor(m => m.CEOName, new { @class = "col-sm-4 control-label" })
<div class="col-sm-8">
@Html.EditorFor(m => m.CEOName, new { htmlAttributes = new { @class = "form-control" } })
<span class="docs-validate-area">
@ViewBag.PasswordIsInvalid
@Html.ValidationMessageFor(m => m.CEOName, "", new { @class = "text-danger" })
</span>
</div>
</div>
<div class="form-group">
@Html.LabelFor(m => m.IndustryDescription, new { @class = "col-sm-4 control-label" })
<div class="col-sm-8">
@Html.EditorFor(m => m.IndustryDescription, new { htmlAttributes = new { @class = "form-control" } })
<span class="docs-validate-area">
@ViewBag.PasswordIsInvalid
@Html.ValidationMessageFor(m => m.IndustryDescription, "", new { @class = "text-danger" })
</span>
</div>
</div>
<div class="form-group">
@Html.LabelFor(m => m.Description, new { @class = "col-sm-4 control-label" })
<div class="col-sm-8">
@Html.EditorFor(m => m.Description, new { htmlAttributes = new { @class = "form-control" } })
<span class="docs-validate-area">
@ViewBag.PasswordIsInvalid
@Html.ValidationMessageFor(m => m.Description, "", new { @class = "text-danger" })
</span>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-8">
<button type="submit" class="btn docs-btn-blue">@Resource.StaticLabelGlobal_Save</button>
<a href="~/Certification" class="btn docs-btn-default">@Resource.StaticLabelGlobal_Cancel</a>
</div>
</div>
</div>
</div>
</div>
}