@extends('layouts.master') @section('title', 'PetroERP- An ERP for Petrol Pumps') @section('content')
Edit Testimonial

Edit Testimonial

{!! Form::open(['action' => ['TestimonialController@update', $testoDetails->id], 'method' => 'POST', 'class' => 'form-horizontal','data-parsley-validate','enctype'=>'multipart/form-data']) !!}
{{Form::label('name', 'Name', ['class'=>'required col-md-2'])}}
{{Form::text('name', $testoDetails->name, ['class'=>'form-control', 'placeholder'=>'Enter Name', 'required'])}}
{{Form::label('image', 'Image', ['class'=>'col-md-2'])}}
{{Form::file('image', ['class'=>'form-control'])}}
{{Form::label('description', 'Description', ['class'=>'required col-md-2'])}}
{!! Form::textarea('description',$testoDetails->description,['class'=>'form-control','placeholder'=>'Description', 'rows' => 2, 'cols' => 40,'required','style'=>'height:75px']) !!}
@if ($errors->any()) @foreach ($errors->all() as $key=>$error)
Error - {{$key+1}}: {{ $error }}
@endforeach @endif
{{Form::hidden('_method', 'PUT')}} {{Form::submit('Update', ['class'=>'btn btn-primary'])}} Back to Testimonial List
{!! Form::close() !!}
@endsection