3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-04-05 15:28:30 +00:00
Files
snipe-it/resources/views/blade/button/clone.blade.php
2026-03-16 10:24:25 +00:00

16 lines
520 B
PHP

@props([
'item' => null,
'route' => null,
'wide' => false,
])
@can('create', $item)
<!-- start clone button component -->
<a href="{{ $route }}" class="btn btn-sm btn-info hidden-print{{ ($wide=='true') ?? ' btn-block btn-social' }}" data-tooltip="true" data-placement="top" data-title="{{ trans('general.clone') }}">
<x-icon type="clone" class="fa-fw" />
@if ($wide=='true')
{{ trans('general.clone') }}
@endif
<!-- end clone button component -->
</a>
@endcan