...
This commit is contained in:
parent
87830632ce
commit
4c721df5d9
2 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue