++ fix e controlli
This commit is contained in:
@@ -61,22 +61,18 @@
|
||||
class="mt-1 block w-full rounded-lg border-gray-300 shadow-sm focus:ring-indigo-500 focus:border-indigo-500 text-sm">
|
||||
</div>
|
||||
|
||||
<button type="submit"
|
||||
class="w-full inline-flex items-center justify-center px-4 py-2.5 text-sm font-medium text-white rounded-lg transition"
|
||||
style="background:#4f46e5" onmouseover="this.style.background='#4338ca'" onmouseout="this.style.background='#4f46e5'">
|
||||
Salva la nuova password
|
||||
</button>
|
||||
<x-btn variante="primary" type="submit" class="w-full">Salva la nuova password</x-btn>
|
||||
</form>
|
||||
|
||||
<div class="flex justify-between text-xs text-gray-500 pt-1 border-t border-gray-100">
|
||||
<div class="flex items-center justify-between gap-2 text-xs text-gray-500 pt-1 border-t border-gray-100">
|
||||
@if($forced)
|
||||
<span>Non sei tu? Esci e accedi con un altro account.</span>
|
||||
@else
|
||||
<a href="{{ route('dashboard') }}" class="hover:text-indigo-600">Torna alla home</a>
|
||||
<x-btn variante="ghost" dimensione="sm" :href="route('dashboard')">Torna alla home</x-btn>
|
||||
@endif
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
<button type="submit" class="hover:text-indigo-600">Esci</button>
|
||||
<x-btn variante="ghost" dimensione="sm" type="submit">Esci</x-btn>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user