mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Website: Update license dispenser signup form (#14368)
Closes: #14011 Changes: - Updated the license dispenser signup form on fleetdm.com/customers/signup to allow users to try to resubmit the form without resetting the form fields.
This commit is contained in:
parent
f0d77ab3db
commit
4caa05d131
2 changed files with 2 additions and 3 deletions
|
|
@ -41,9 +41,8 @@ parasails.registerPage('signup', {
|
|||
// ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝
|
||||
methods: {
|
||||
|
||||
clickClearFormFields: async function() {
|
||||
clickResetForm: async function() {
|
||||
this.cloudError = '';
|
||||
this.formData = {};
|
||||
this.formErrors = {};
|
||||
this.showFullForm = true;
|
||||
await this.forceRender();
|
||||
|
|
|
|||
2
website/views/pages/entrance/signup.ejs
vendored
2
website/views/pages/entrance/signup.ejs
vendored
|
|
@ -48,7 +48,7 @@
|
|||
<cloud-error purpose="cloud-error" v-else-if="cloudError"></cloud-error>
|
||||
<p class="small">By signing up you agree to our <a href="/legal/privacy">privacy policy</a> and <a href="/terms">terms of service</a>.</p>
|
||||
<ajax-button purpose="submit-button" spinner="true" type="submit" :syncing="syncing" class="btn btn-block btn-lg btn-primary mt-4" v-if="!cloudError">Agree and continue</ajax-button>
|
||||
<ajax-button purpose="submit-button" type="button" :syncing="syncing" class="btn btn-block btn-lg btn-primary mt-4" v-if="cloudError" @click="clickClearFormFields()">Reset form and try again</ajax-button>
|
||||
<ajax-button purpose="submit-button" type="button" :syncing="syncing" class="btn btn-block btn-lg btn-primary mt-4" v-if="cloudError" @click="clickResetForm()">Try again</ajax-button>
|
||||
</ajax-form>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue