@extends('main') @section('content')

Add Fabric Composition

@if(isset($pileheight)) {!! Form::model($pileheight, ['method' => 'PATCH', 'action' => ['PileHeightController@update', $pileheight->idPileHeight], 'class' => 'form-horizontal']) !!} @else {!! Form::open(['url' => 'fabric-composition', 'class' => 'form-horizontal']) !!} @endif
{!! Form::text('name',null,['class' => 'form-control','minlength'=>'2','maxlength'=>'80','autocomplete'=>'off']) !!} @if($errors->has('name'))

{{ $errors->first('name') }}

@endif
{!! Form::submit('SAVE',['class' => 'btn btn-raised btn-primary btn-round waves-effect']) !!} {!! Form::close() !!}

List Of Fabric Composition

@foreach($pileheights as $ph) @endforeach
S.No. Name Action
{{ $i }} {{ $ph->name }} Edit Delete
@stop @section('script') @stop