{{ Form::open(array('route' => 'settings.store','method'=>'POST','files' => true,'class'=>'display inline-block')) }}
@foreach($style as $key)
    <div class="col-md-12 form-group">
        {{ Form::label($key->meta_key, "Theme")}}
        @if($key->meta_key == 'custom_theme')
            <?php
            $themes = [
                'skin-green-light' => "Green Light",
                'skin-blue-light' => "Blue Light",
                'skin-green' => "Green",
                'skin-blue' => "Blue",
                'skin-yellow' => 'Yellow',
                'skin-yellow-light' => 'Yellow Light',
                'skin-purple' => "Purple",
                'skin-purple-light' => 'Purple Light',
                'skin-red' => "Red",
                'skin-red-light' => "Red Light",
                'skin-black' => "Black",
                'skin-black-light' => "Black Light"
            ];
            ?>
            {{ Form::select($key->meta_key,$themes,$key->meta_value,['class'=>'form-control select2'])}}
        @else
            {{ Form::label($key->meta_key, Trans('settings.'.$key->meta_key)) }}
            <?php $type = $key->input_type; ?>
            {{ Form::$type($key->meta_key, $key->meta_value, [
                'class' => 'form-control',
                'placeholder' => Trans('settings.'.$key->meta_key),
            'rows'	=> '5'
            ])}}
        @endif
    </div>
@endforeach
<div class="col-md-12 form-group">
    <button type="submit" name="submit"
            class="btn btn-info">{{ Trans('dashboard.crud.update') }}</button>
    <button type="reset" name="reset"
            class="btn btn-default">{{ Trans('buttons.reset') }}</button>
</div>
{{ Form::close()}}