Yes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<v-card flat>
|
||||
<v-card-text>
|
||||
<v-form ref="form" v-model="valid" lazy-validation>
|
||||
<v-form ref="form" v-model="valid" lazy-validation>
|
||||
<v-card-text>
|
||||
<v-text-field
|
||||
v-model="form.username"
|
||||
:rules="usernameRules"
|
||||
@@ -18,14 +18,19 @@
|
||||
prepend-icon="mdi-lock"
|
||||
type="password"
|
||||
></v-text-field>
|
||||
</v-form>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer />
|
||||
<v-btn :disabled="!valid" color="success" @click="userLogin">
|
||||
Login
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer />
|
||||
<v-btn
|
||||
:disabled="!valid"
|
||||
color="success"
|
||||
type="submit"
|
||||
@click.prevent="userLogin"
|
||||
>
|
||||
Login
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</v-form>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<v-card flat>
|
||||
<v-card-text>
|
||||
<v-form ref="form" v-model="valid" lazy-validation>
|
||||
<v-form ref="form" v-model="valid" lazy-validation>
|
||||
<v-card-text>
|
||||
<v-text-field
|
||||
v-model="form.username"
|
||||
:rules="usernameRules"
|
||||
@@ -35,15 +35,20 @@
|
||||
prepend-icon="mdi-lock"
|
||||
type="password"
|
||||
></v-text-field>
|
||||
</v-form>
|
||||
</v-card-text>
|
||||
<v-divider />
|
||||
<v-card-actions>
|
||||
<v-spacer />
|
||||
<v-btn :disabled="!valid" color="success" @click="registerUser">
|
||||
Register
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card-text>
|
||||
<v-divider />
|
||||
<v-card-actions>
|
||||
<v-spacer />
|
||||
<v-btn
|
||||
:disabled="!valid"
|
||||
color="success"
|
||||
type="submit"
|
||||
@click.prevent="registerUser"
|
||||
>
|
||||
Register
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</v-form>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user