|
|
@ -21,13 +21,13 @@ |
|
|
|
{!! Form::text('colour', null, array('placeholder' => __('app.apps.hex'),'class' => 'form-control color-picker')) !!} |
|
|
|
<hr /> |
|
|
|
<label>{{ __('app.apps.pinned') }}</label> |
|
|
|
{!! Form::hidden('pinned', '0') !!} |
|
|
|
<label class="switch"> |
|
|
|
<?php |
|
|
|
$checked = false; |
|
|
|
if(isset($item->pinned) && (bool)$item->pinned === true) $checked = true; |
|
|
|
$set_checked = ($checked) ? ' checked="checked"' : ''; |
|
|
|
?> |
|
|
|
{!! Form::hidden('pinned', '0') !!} |
|
|
|
?> |
|
|
|
<input type="checkbox" name="pinned" value="1"<?php echo $set_checked;?> /> |
|
|
|
<span class="slider round"></span> |
|
|
|
</label> |
|
|
|