Added success message when you change credentials

Added "see password" button - With CSS & Script (Script in file)
This commit is contained in:
Anders
2020-07-31 09:28:58 +02:00
parent 38f8bfa0c9
commit 56cbe7ad41
5 changed files with 35 additions and 6 deletions
@@ -11,12 +11,13 @@
@csrf
@method("put")
<span>Navn:</span>
<input type="text" name="name" id="name" value="{{ Auth::user()->name_first . " " . Auth::user()->name_last }}" disabled>
<input type="text" value="{{ Auth::user()->name_first . " " . Auth::user()->name_last }}" disabled>
<span>Email:</span>
<input type="email" name="email" id="email" value="{{ Auth::user()->email }}" required>
<span>Telefon Nr.:</span>
<input type="text" name="phone" id="phone" value="{{ Auth::user()->phone }}" required>
<button type="submit" class="btn text-center btn-sde-blue mt-1">Rediger</button>
<a href="{{ route('users.account') }}" class="btn text-center btn-sde-blue mt-1">Tilbage</a>
</form>
</main>
@endsection