mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
Fixed
This commit is contained in:
parent
60d2046b6d
commit
825a9a384d
|
@ -71,11 +71,14 @@
|
|||
|
||||
@section('moar_scripts')
|
||||
<!-- bootstrap color picker -->
|
||||
<?php
|
||||
$color = request()->old('color', $item->color) ? request()->old('color', $item->color) : '#AA3399';
|
||||
?>
|
||||
<script nonce="{{ csrf_token() }}">
|
||||
|
||||
$(function() {
|
||||
$('.color').colorpicker({
|
||||
color: '#AA3399',
|
||||
color: '{{ $color }}',
|
||||
format: 'hex'
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue