<div class="form-row">
<div class="form-group col-sm-4">
        {!! BootForm::text('Name', 'name')->placeholder('Name')   !!}	 
</div>

<div class="form-group col-sm-4">
                {!! BootForm::select('Process Type', 'proc_type')->options(['SANDWITCH' => 'Sandwitch', 'WIRESAW_PEARL' => 'Wiresaw Pearl']);   !!}		 
</div>
<div class="form-group col-sm-4">
        {!! BootForm::text('Hotpress Mould IN/OUT Time(min)', 'cycle_time')->placeholder('Hotpress Mould IN/OUT Time(min)');   !!}		 
</div>
</div>
<div class="form-row">
               

                <div class="form-group col-sm-3">
                                {!! TranslatableBootForm::textarea('Mixing Detail', 'mixing_detail')->placeholder('Mixing Detail')->rows(2)   !!}	 
                        </div>                
               
                <div class="form-group col-sm-3">
                        {!! TranslatableBootForm::textarea('Hotpress detail', 'hotpress_detail')->placeholder('HotPress Detail')->rows(2)   !!}	 
                </div>
                <div class="form-group col-sm-3">
                                {!! TranslatableBootForm::textarea('Finising detail', 'finishing_detail')->placeholder('Finising Detail')->rows(2)   !!}	 
                </div>
                <div class="form-group col-sm-3">
                                {!! TranslatableBootForm::textarea('Other detail', 'other_detail')->placeholder('Other Detail')->rows(2)   !!}	 
                </div>
</div>


<div class="form-row">
        <div class="form-group col-sm-4">
                {!! BootForm::textarea('Consumable Settings', 'consumable_settings')->placeholder('Consumable Settings')->rows(2)   !!}	 
        </div> 
        <div class="form-group col-sm-4">
                {!! BootForm::text('Mould Cycle Time(min)', 'cycle_time')->placeholder('Mould Cycle Time(min)');   !!}	 
        </div> 
        <div class="form-group col-sm-4">
                {!! BootForm::text('Expected Mould per hour', 'expected_mould')->placeholder('Expected Mould per hour');   !!}	 
        </div> 
</div>

@component('partials.selectize', [
        'labelField' => 'name',
        'valueField' => 'id',
        'searchField' => 'name',
        'url' => '/admin/api/consumable_settings/',
        'select_id' => 'consumable_settings',
        'defaultValue' => !empty(old('consumable_settings'))?old('consumable_settings'):
        ((isset($bondProcessParams))?implode(",", $bondProcessParams->consumableSettings()->select('consumable_settings_id as id')->pluck('id')->toArray()):null),
        //'uploadedFiles' => $singer->attachments->toArray()
    ])
@endcomponent


<!-- Submit Field -->
<div class="form-group col-sm-12">
    {!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
    <a href="{!! route('bondProcessParams.index') !!}" class="btn btn-default">Cancel</a>
</div>
