@extends('layouts.template') @section('content') Tools Control Tools Control Edit {!! Form::model($tool_creation, [ 'method' => 'PATCH', 'url' => ['/store/tool-creation', $tool_creation->id], 'class' => 'form-horizontal', 'id' => 'toolcreationform', 'files' => true ]) !!} {!! Form::label('tool', 'Tool') !!} * {!! Form::text('tool', null, ['class' => 'form-control']) !!} {!! $errors->first('tool', ':message') !!} Quantity * {!! Form::text('quantity', null, ['class' => 'form-control','disabled']) !!} {!! $errors->first('quantity', ':message') !!} Price * {!! Form::text('price', null, ['class' => 'form-control']) !!} {!! $errors->first('price', ':message') !!} Supplier * {!! Form::select('manufacturer',['' =>'Select Supplier'] + $page_data['supplier']->toArray() ,null,['class' => 'col-md-6 form-control arr']) !!} {!! $errors->first('manufacturer', ':message') !!} Category * {!! Form::select('category',['' =>'Select Category'] + $page_data['category']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!} {!! $errors->first('category', ':message') !!} Bin* {!! Form::select('bin_id',['' =>'Select Bin'] + $page_data['bin_id']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!} {!! $errors->first('bin-id', ':message') !!} Size * {!! Form::text('size', null, ['class' => 'form-control']) !!} {!! $errors->first('size', ':message') !!} Description * {!! Form::text('description', null, ['class' => 'form-control']) !!} {!! $errors->first('description', ':message') !!} Image {!! $errors->first('image_path', ':message') !!} {!! Form::submit('Update', ['class' => 'btn btn-primary']) !!} {!! Form::close() !!} @endsection
:message