This commit is contained in:
TorstenS 2020-09-22 18:51:03 +02:00
parent 87830632ce
commit 4c721df5d9
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@
</div>
@if($user->role=="ADMIN")
@if(Auth::user()=="ADMIN")
<a href="#" class="btn btn-danger col-2 mb-2 float-right mr-2">Speichern</a>
@endif
<a href="/member" class="btn btn-primary col-2 mb-2 float-left">Abbrechen</a>

View file

@ -32,7 +32,7 @@
</div>
</div>
@if($user->role=="ADMIN")
@if(Auth::user()=="ADMIN")
<a href="/member/{{$user->id}}/edit" class="btn btn-danger col-2 mb-2 float-right mr-2">Bearbeiten</a>
@endif
<a href="/member" class="btn btn-primary col-2 mb-2 float-left">Zurück</a>