PHP Classes

File: resources/js/Pages/Auth/ConfirmPassword.vue

Recommend this page to a friend!
  Classes of Robert Devenyi   Iceburg CRM   resources/js/Pages/Auth/ConfirmPassword.vue   Download  
File: resources/js/Pages/Auth/ConfirmPassword.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Iceburg CRM
CRM application to manage contacts
Author: By
Last change:
Date: 1 year ago
Size: 1,415 bytes
 

Contents

Class file image Download
<script setup> import BreezeButton from '@/Components/Button.vue'; import BreezeGuestLayout from '@/Layouts/Guest.vue'; import BreezeInput from '@/Components/Input.vue'; import BreezeLabel from '@/Components/Label.vue'; import BreezeValidationErrors from '@/Components/ValidationErrors.vue'; import { Head, useForm } from '@inertiajs/inertia-vue3'; const form = useForm({ password: '', }); const submit = () => { form.post(route('password.confirm'), { onFinish: () => form.reset(), }) }; </script> <template> <BreezeGuestLayout> <Head title="Confirm Password" /> <div class="mb-4 text-sm text-gray-600"> This is a secure area of the application. Please confirm your password before continuing. </div> <BreezeValidationErrors class="mb-4" /> <form @submit.prevent="submit"> <div> <BreezeLabel for="password" value="Password" /> <BreezeInput id="password" type="password" class="mt-1 block w-full" v-model="form.password" required autocomplete="current-password" autofocus /> </div> <div class="flex justify-end mt-4"> <BreezeButton class="ml-4" :class="{ 'opacity-25': form.processing }" :disabled="form.processing"> Confirm </BreezeButton> </div> </form> </BreezeGuestLayout> </template>