Try your search with a different keyword or use * as a wildcard.
@model InstallModel
<div id="sqlDatabaseInfo">
<div class="credentials">
<div class="form-group row">
<label asp-for="ServerName"class="col-sm-3 col-form-label text-right font-weight-bold">
@ILS.GetResource("ServerName")
</label>
<div class="col-sm-8">
<input asp-for="ServerName" class="form-control" />
</div>
</div>
<div class="form-group row">
<label asp-for="DatabaseName" class="col-sm-3 col-form-label text-right font-weight-bold">
@ILS.GetResource("DatabaseName")
</label>
<div class="col-sm-8">
<input asp-for="DatabaseName" class="form-control" />
</div>
</div>
</div>
<div class="form-group row">
<div class="col-md-6 offset-md-3">
<div class="form-check">
<input class="form-check-input" asp-for="IntegratedSecurity" asp-value="@true" />
<label asp-for="IntegratedSecurity" class="form-check-label">
@ILS.GetResource("IntegratedAuthentication")
</label>
</div>
</div>
</div>
<div class="credentials" id="pnlSqlServerCredentials">
<div class="form-group row">
<label asp-for="Username" class="col-sm-3 col-form-label text-right font-weight-bold">
@ILS.GetResource("SqlUsername")
</label>
<div class="col-sm-8">
<input asp-for="Username" class="form-control" />
</div>
</div>
<div class="form-group row">
<label asp-for="Password" class="col-sm-3 col-form-label text-right font-weight-bold">
@ILS.GetResource("SqlPassword")
</label>
<div class="col-sm-8">
<input asp-for="Password" class="form-control" />
</div>
</div>
</div>
</div>
<script>
$(function() {
$('#@Html.IdFor(x => x.IntegratedSecurity)').click(toggleSqlAuthenticationType);
toggleSqlAuthenticationType();
})
function toggleSqlAuthenticationType() {
var sqlAuthentication = $("#@Html.IdFor(x => x.IntegratedSecurity)").is(':checked');
if (sqlAuthentication) {
$('#pnlSqlServerCredentials').hide();
} else {
$('#pnlSqlServerCredentials').show();
}
}
</script>