alxlaxv
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
13 deletions
-
resources/views/supportedapps/sonarr.blade.php
|
|
@ -10,19 +10,6 @@ |
|
|
|
<label>{{ __('app.apps.apikey') }}</label> |
|
|
|
{!! Form::text('config[apiKey]', null, array('placeholder' => __('app.apps.apikey'), 'data-config' => 'apiKey', 'class' => 'form-control config-item')) !!} |
|
|
|
</div> |
|
|
|
<div class="input"> |
|
|
|
<label>{{ __('app.apps.enable') }}</label> |
|
|
|
{!! Form::hidden('config[enabled]', '0') !!} |
|
|
|
<label class="switch"> |
|
|
|
<?php |
|
|
|
$checked = false; |
|
|
|
if(isset($item->config->enabled) && (bool)$item->config->enabled === true) $checked = true; |
|
|
|
$set_checked = ($checked) ? ' checked="checked"' : ''; |
|
|
|
?> |
|
|
|
<input type="checkbox" name="config[enabled]" value="1"<?php echo $set_checked;?> /> |
|
|
|
<span class="slider round"></span> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<div class="input"> |
|
|
|
<button style="margin-top: 32px;" class="btn test" id="test_config">Test</button> |
|
|
|
</div> |
|
|
|