1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

built out the organization edit event from the admin portal (#1508)

* built out the organization edit event from the admin portal

* removed unneeded override

* added some space

* fixed the space
This commit is contained in:
Addison Beck
2021-08-11 12:44:30 -04:00
committed by GitHub
parent c22dc71c49
commit f55708d748
6 changed files with 19 additions and 9 deletions

View File

@ -34,6 +34,8 @@
// Licensing
document.getElementById('@(nameof(Model.LicenseKey))').value = '@Model.RandomLicenseKey';
document.getElementById('@(nameof(Model.ExpirationDate))').value = '@Model.FourteenDayExpirationDate';
document.getElementById('@(nameof(Model.SalesAssistedTrialStarted))').value = true;
});
document.getElementById('@(nameof(Model.PlanType))').addEventListener('change', () => {
@ -83,6 +85,7 @@
@await Html.PartialAsync("_BillingInformation",
new BillingInformationModel { BillingInfo = Model.BillingInfo, OrganizationId = Model.Organization.Id })
<form method="post" id="edit-form">
<input asp-for="SalesAssistedTrialStarted" type="hidden">
<h2>General</h2>
<div class="row">
<div class="col-sm">