@model StoreModel

<div class="card-body">
    <div id="store-name-area">
        @(await Html.LocalizedEditorAsync<StoreModel, StoreLocalizedModel>("store-localized-info",
            @<div>
                <div class="form-group row">
                    <div class="col-md-3">
                        <nop-label asp-for="@Model.Locales[item].Name" />
                    </div>
                    <div class="col-md-9">
                        <nop-editor asp-for="@Model.Locales[item].Name" />
                        <span asp-validation-for="@Model.Locales[item].Name"></span>
                    </div>
                </div>
                <input type="hidden" asp-for="@Model.Locales[item].LanguageId" />
            </div>
            ,
            @<div>
                <div class="form-group row">
                    <div class="col-md-3">
                        <nop-label asp-for="Name" />
                    </div>
                    <div class="col-md-9">
                        <nop-editor asp-for="Name" asp-required="true" />
                        <span asp-validation-for="Name"></span>
                    </div>
                </div>
            </div>
            ))
    </div>

    <div class="form-group row" id="store-url-area">
        <div class="col-md-3">
            <nop-label asp-for="Url" />
        </div>
        <div class="col-md-9">
            <nop-editor asp-for="Url" asp-required="true" />
            <span asp-validation-for="Url"></span>
        </div>
    </div>
    <div class="form-group row" id="ssl-area">
        <div class="col-md-3">
            <nop-label asp-for="SslEnabled" />
        </div>
        <div class="col-md-9">
            <a class="btn bg-olive"
               asp-protocol="@(Model.SslEnabled ? Uri.UriSchemeHttp : Uri.UriSchemeHttps)"
               asp-action="SetStoreSslByCurrentRequestScheme"
               asp-route-id="@Model.Id">
                @(Model.SslEnabled ? T("Admin.Configuration.Stores.Ssl.Disable") : T("Admin.Configuration.Stores.Ssl.Enable"))
            </a>
            <div><em>@T("Admin.Configuration.Stores.Fields.SslEnabled.Hint2")</em></div>
            <span asp-validation-for="SslEnabled"></span>
        </div>
    </div>
    <div class="form-group row advanced-setting">
        <div class="col-md-3">
            <nop-label asp-for="Hosts" />
        </div>
        <div class="col-md-9">
            <nop-editor asp-for="Hosts" />
            <span asp-validation-for="Hosts"></span>
        </div>
    </div>
    <div class="form-group row advanced-setting">
        <div class="col-md-3">
            <nop-label asp-for="DefaultLanguageId" />
        </div>
        <div class="col-md-9">
            <nop-select asp-for="DefaultLanguageId" asp-items="Model.AvailableLanguages" />
            <span asp-validation-for="DefaultLanguageId"></span>
        </div>
    </div>
    <div class="form-group row advanced-setting">
        <div class="col-md-3">
            <nop-label asp-for="DisplayOrder" />
        </div>
        <div class="col-md-9">
            <nop-editor asp-for="DisplayOrder" />
            <span asp-validation-for="DisplayOrder"></span>
        </div>
    </div>
    <div id="company-info-area">
        <div class="form-group row advanced-setting">
            <div class="col-md-3">
                <nop-label asp-for="CompanyName" />
            </div>
            <div class="col-md-9">
                <nop-editor asp-for="CompanyName" />
                <span asp-validation-for="CompanyName"></span>
            </div>
        </div>
        <div class="form-group row advanced-setting">
            <div class="col-md-3">
                <nop-label asp-for="CompanyAddress" />
            </div>
            <div class="col-md-9">
                <nop-editor asp-for="CompanyAddress" />
                <span asp-validation-for="CompanyAddress"></span>
            </div>
        </div>
        <div class="form-group row advanced-setting">
            <div class="col-md-3">
                <nop-label asp-for="CompanyPhoneNumber" />
            </div>
            <div class="col-md-9">
                <nop-editor asp-for="CompanyPhoneNumber" />
                <span asp-validation-for="CompanyPhoneNumber"></span>
            </div>
        </div>
        <div class="form-group row advanced-setting">
            <div class="col-md-3">
                <nop-label asp-for="CompanyVat" />
            </div>
            <div class="col-md-9">
                <nop-editor asp-for="CompanyVat" />
                <span asp-validation-for="CompanyVat"></span>
            </div>
        </div>
    </div>
</div>