mirror of
https://github.com/grokability/snipe-it.git
synced 2026-03-12 17:52:00 +08:00
only creator can see share checkbox
This commit is contained in:
@@ -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) />
|
||||
|
||||
Reference in New Issue
Block a user