<div class="form-row">
        <div class="form-group col-sm-4">
                {!! BootForm::text('Design Name', 'name')->placeholder('Design Name')   !!}
        </div>
        <div class="form-group col-sm-4">
                {!! BootForm::text('Size Specification', 'size_specification')->placeholder('Size Specification')   !!}	 
        </div>
        <div class="form-group col-sm-4">
                {!! BootForm::text('Size ', 'size_print')->placeholder('Size Print')   !!}	 
        </div>
        
</div>
<div class="form-row">
        <div class="form-group col-sm-4">
                {!! BootForm::text('Taper(mm) ', 'taper')->placeholder('Taper(mm)')   !!}	 
        </div>
        <div class="form-group col-sm-4">
                {!! BootForm::select('Shape', 'shape')->options(['BOX-SHAPE' => 'Box Shape', 'M-SHAPE' => 'MShape', 'NAAV-SHAPE' => 'NaavShape', 'B-SHAPE' => 'BShape']);   !!}	
        </div>
        <div class="form-group col-sm-4">
                {!! BootForm::text('Width(mm)', 'width')->placeholder('Width(mm)')   !!}	 
        </div>
</div>



<div class="form-row">
         <div class="form-group col-sm-3">
                {!! BootForm::text('Weight1 Name', 'weight1_name')->placeholder('Weight1 Name (gm)')   !!}	 
        </div>
        <div class="form-group col-sm-3">
                {!! BootForm::text('Green Piece Weight1(L)', 'weight1_lower')->placeholder('Green Piece Weight1 Lower Limit (gm)')   !!}	 
        </div>
        <div class="form-group col-sm-3">
                {!! BootForm::text('Green Piece Weight1(W)', 'weight1_upper')->placeholder('Green Piece Weight1 Upper Limit (gm)')   !!}	 
        </div>
        <div class="form-group col-sm-3">
                {!! BootForm::text('No of material1', 'weight1_nos')->placeholder('No of material1')   !!}	 
        </div>
</div>

<div class="form-row">
        <div class="form-group col-sm-3">
                {!! BootForm::text('Weight2 Name', 'weight2_name')->placeholder('Weight2 Name (gm)')   !!}	 
        </div>
        <div class="form-group col-sm-3">
                {!! BootForm::text('Green Piece Weight2(L)', 'weight2_lower')->placeholder('Green Piece Weight2 Lower Limit (gm)')   !!}	 
        </div>
        <div class="form-group col-sm-3">
                {!! BootForm::text('Green Piece Weight2(W)', 'weight2_upper')->placeholder('Green Piece Weight2 Upper Limit (gm)')   !!}	 
        </div>
        <div class="form-group col-sm-3">
                {!! BootForm::text('No of material2', 'weight2_nos')->placeholder('No of material2')   !!}	 
        </div>
</div>

<div class="form-row">
        <div class="form-group col-sm-4">
                {!! BootForm::text('Consumable Settings1', 'consumable_setting_id_1')->placeholder('Consumable Settings 1')   !!}	 
        </div>
         <div class="form-group col-sm-4">
                {!! BootForm::text('Consumable Settings2', 'consumable_setting_id_2')->placeholder('Consumable Settings 2')   !!}	 
        </div>
</div>

@component('partials.selectize', [
        'labelField' => 'name',
        'valueField' => 'id',
        'searchField' => 'name',
        'maxItem' => 1,
        'url' => '/admin/api/patti/',
        'select_id' => 'consumable_setting_id_1',
        'defaultValue' => !empty(old('consumable_setting_id_1'))?old('consumable_setting_id_1'):
        ((isset($bondDesign))?implode(",", $bondDesign->consumableSetting1()->select('id')->pluck('id')->toArray()):null),
        //'uploadedFiles' => $singer->attachments->toArray()
    ])
@endcomponent

@component('partials.selectize', [
        'labelField' => 'name',
        'valueField' => 'id',
        'searchField' => 'name',
        'maxItem' => 1,
        'url' => '/admin/api/patti/',
        'select_id' => 'consumable_setting_id_2',
        'defaultValue' => !empty(old('consumable_setting_id_2'))?old('consumable_setting_id_2'):
        ((isset($bondDesign))?implode(",", $bondDesign->consumableSetting2()->select('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('bondDesigns.index') !!}" class="btn btn-default">Cancel</a>
</div>
