Skip to content

Commit

Permalink
Make the modal for editing company details accesible for the content mod
Browse files Browse the repository at this point in the history
  • Loading branch information
v-stamenova committed Oct 14, 2023
1 parent 3a73460 commit ae11dfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/views/moderator/companies/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@
</x-slot>

<x-slot name="actions">
{{-- TODO create Edit page or, even better, a LiveWire component --}}
<x-button-link href="#">{{ __('Edit') }}</x-button-link>
@can('update', $company)
@livewire('edit-team-form', ['team' => $company])
@endcan
</x-slot>
</x-action-section>

Expand Down

0 comments on commit ae11dfb

Please sign in to comment.