Skip to content

Commit

Permalink
Prevent RO users from editing notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jjdejong committed Jan 16, 2025
1 parent 6d8a688 commit bbbb0bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/views/matter/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,11 @@
Notes
</div>
<div class="card-body p-1" style="overflow: auto;">
@can('readwrite')
<textarea id="notes" class="form-control noformat" name="notes" data-resource="/matter/{{ $matter->id }}">{{ $matter->notes }}</textarea>
@else
<div class="noformat">{{ $matter->notes }}</div>
@endcan
</div>
<div class="card-footer p-1">
Summaries:
Expand Down

0 comments on commit bbbb0bc

Please sign in to comment.