@extends('layouts.master') @section('title', 'PetroERP- An ERP for Petrol Pumps') @section('content')
Terms & Conditions

[ Max 160 characters allowed in each Term & Condition. ]

{!! Form::open(['action' => ['PumpTermsAndConditionsController@update', $terms->id], 'method' => 'POST', 'class' => 'form-horizontal','data-parsley-validate']) !!}
{{Form::label('term1', '1.', ['class'=>'col-md-1'])}}
{!! Form::textarea('term1',$terms->term1,['class'=>'form-control','placeholder'=>'Term & Condition 1', 'rows' => 2, 'cols' => 40,'style'=>'height:55px','data-parsley-maxlength'=>'160']) !!}
{{Form::label('term4', '4.', ['class'=>'col-md-1'])}}
{!! Form::textarea('term4',$terms->term4,['class'=>'form-control','placeholder'=>'Term & Condition 4', 'rows' => 2, 'cols' => 40,'style'=>'height:55px','data-parsley-maxlength'=>'160']) !!}
{{Form::label('term2', '2.', ['class'=>'col-md-1'])}}
{!! Form::textarea('term2',$terms->term2,['class'=>'form-control','placeholder'=>'Term & Condition 2', 'rows' => 2, 'cols' => 40,'style'=>'height:55px','data-parsley-maxlength'=>'160']) !!}
{{Form::label('term5', '5.', ['class'=>'col-md-1'])}}
{!! Form::textarea('term5',$terms->term5,['class'=>'form-control','placeholder'=>'Term & Condition 5', 'rows' => 2, 'cols' => 40,'style'=>'height:55px','data-parsley-maxlength'=>'160']) !!}
{{Form::label('term3', '3.', ['class'=>'col-md-1'])}}
{!! Form::textarea('term3',$terms->term3,['class'=>'form-control','placeholder'=>'Term & Condition 3', 'rows' => 2, 'cols' => 40,'style'=>'height:55px','data-parsley-maxlength'=>'160']) !!}
{{Form::hidden('_method', 'PUT')}} {{Form::submit('Save Changes', ['class'=>'btn btn-primary'])}}
{!! Form::close() !!}
@endsection