only creator can see share checkbox

This commit is contained in:
akemidx
2025-12-08 16:32:11 -05:00
parent ef0ff65162
commit 6a770832ba

View File

@@ -80,7 +80,7 @@
</div>
</div>
@if($template->created_by)
@if($template->created_by == auth()->id())
<div class="col-md-7 col-md-offset-7">
<label class="form-control">
<input type="checkbox" name="share_report_template" value="1" @checked($template->share_report_template) />