Kode
6 years ago
7 changed files with 73 additions and 38 deletions
@ -1,4 +1,4 @@ |
|||||
{ |
{ |
||||
"/css/app.css": "/css/app.css?id=22a39cc94a111a82ce68", |
"/css/app.css": "/css/app.css?id=2d647cf8beb1a6515945", |
||||
"/js/app.js": "/js/app.js?id=8dc4a6ea723d0df7469d" |
"/js/app.js": "/js/app.js?id=8dc4a6ea723d0df7469d" |
||||
} |
} |
@ -0,0 +1,12 @@ |
|||||
|
<div class="toggleinput"> |
||||
|
<label class="name">{{ __('app.apps.enable') }}</label> |
||||
|
{!! Form::hidden('config[enabled]', '0') !!} |
||||
|
<label class="switch"> |
||||
|
<?php |
||||
|
$checked = $item->enabled(); |
||||
|
$set_checked = ($checked) ? ' checked="checked"' : ''; |
||||
|
?> |
||||
|
<input type="checkbox" name="config[enabled]" value="1"<?php echo $set_checked;?> /> |
||||
|
<span class="slider round"></span> |
||||
|
</label> |
||||
|
</div> |
Loading…
Reference in new issue