mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 12:10:34 +09:00
search functionality and settings fixes
This commit is contained in:
@@ -14,20 +14,7 @@
|
||||
</div>-->
|
||||
|
||||
<div class="input">
|
||||
@php($type = explode('|', $setting->type)[0])
|
||||
{!! Form::label('value', 'Value') !!}
|
||||
@if ($type == 'image')
|
||||
{!! Form::file('value', ['class' => 'form-control']) !!}
|
||||
@elseif ($type == 'select')
|
||||
@php($options = explode('|', $setting->type)[1])
|
||||
@php($options = explode(',', $options))
|
||||
{!! Form::select('value', $options, null, ['class' => 'form-control']) !!}
|
||||
@elseif ($type == 'textarea')
|
||||
{!! Form::textarea('value', Request::get('value'), ['class' => 'form-control trumbowyg', 'placeholder' => 'FAQ contents']) !!}
|
||||
@else
|
||||
{!! Form::text('value', null, ['class' => 'form-control']) !!}
|
||||
@endif
|
||||
|
||||
{!! $setting->edit_value !!}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user