@using Resources @model Weee.Areas.Admin.ViewModels.AccountWebSiteInfoSetViewModel @{ ViewBag.Title = "WebSite Info Set"; Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml"; }

@Resource.WebSiteInfoSet

@if (TempData["SuccessMsg"] != null) {} @if (TempData["ErrorMsg"] != null) {}
@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true) @Html.HiddenFor(m => m.ID)
@Html.LabelFor(m => m.footerAddress, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(m => m.footerAddress, new { htmlAttributes = new { @class = "form-control", maxlength = "50" } })
@Html.LabelFor(m => m.footerPhone, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(m => m.footerPhone, new { htmlAttributes = new { @class = "form-control", maxlength = "20" } }) @Html.ValidationMessageFor(model => model.footerPhone)
@Html.LabelFor(m => m.footerFax, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(m => m.footerFax, new { htmlAttributes = new { @class = "form-control", maxlength = "20" } })
@Html.LabelFor(m => m.footerEmail, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(m => m.footerEmail, new { htmlAttributes = new { @type = "email", @class = "form-control", maxlength = "50" } })
@Html.LabelFor(m => m.footerCopyright, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(m => m.footerCopyright, new { htmlAttributes = new { @class = "form-control", maxlength = "30" } })
@Html.LabelFor(m => m.text1welcome, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(m => m.text1welcome, new { htmlAttributes = new { @class = "form-control", maxlength = "20" } }) (ex: Welcome to)
@Html.LabelFor(m => m.text2Qcarbon, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(m => m.text2Qcarbon, new { htmlAttributes = new { @class = "form-control", maxlength = "20" } }) (ex: Q-Carbon!)
@Html.LabelFor(m => m.loginImageStyle, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(m => m.loginImageStyle, new { htmlAttributes = new { @class = "form-control", maxlength = "50" } }) (ex: width: 600px; height: 600px; margin: 50px;)
@Html.LabelFor(m => m.loginImageBackGroundColor, new { @class = "control-label docs-control-label col-xs-3" })
@Html.TextBoxFor(m => m.loginImageBackGroundColor, new { @class = "form-control", pattern = @"^#[A-Fa-f0-9]{6}" }) (ex: #aaBB56)
} @if (Model.ID > 0) {
@Html.LabelFor(m => m.loginImagePath, new { @class = "control-label docs-control-label col-xs-3" })
@if (!string.IsNullOrWhiteSpace(Model.loginImagePath)) { }

}
@using (Html.BeginForm("DelSiteImg", "Account", FormMethod.Post, new {id = "form_delSiteImg"})){} @using (Html.BeginForm("UploadImg", "Account", FormMethod.Post, new { enctype = "multipart/form-data" })) { }