Update contact password form

This commit is contained in:
David Bomba 2019-08-13 19:20:55 +10:00
parent 7c35859a6e
commit 09139a981d
2 changed files with 6 additions and 2 deletions

View File

@ -39,7 +39,11 @@
<li class="nav-item dropdown" style="padding-right: 20px;">
<a class="nav-link" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
<img class="img-avatar" src="/images/logo.png" alt=""> {{ auth()->user()->present()->name() }}
@if(auth()->user()->avatar)
<img class="img-avatar" src="{{ auth()->user()->avatar }}" alt="" class="img-fluid"> {{ auth()->user()->present()->name() }}
@else
<img class="img-avatar" src="/images/logo.png" alt="" class="img-fluid"> {{ auth()->user()->present()->name() }}
@endif
</a>
<div class="dropdown-menu dropdown-menu-sm">
<div class="dropdown-header text-center">

View File

@ -82,7 +82,7 @@
{!! Former::password('password')->placeholder( ctrans('texts.password'))->label('') !!}
{!! Former::password('password_confirmed')->placeholder( ctrans('texts.confirm_password'))->label('') !!}
{!! Former::password('password_confirmation')->placeholder( ctrans('texts.confirm_password'))->label('') !!}
</div>