@extends('layouts.backend') @section('title', '| testimonials create') @section('content') @if($errors->any())
@foreach ($errors->all() as $error) {{ $error }}
@endforeach
@endif

testimonials

{!! Form::open(['route' => 'testimonials.store','enctype' => 'multipart/form-data']) !!}
{{ Form::label('name', 'Name', ['class'=>'form-label']) }} {{ Form::text('name', null, array('class' => 'form-control')) }}
{{ Form::label('occupation', 'Occupation', ['class'=>'form-label']) }} {{ Form::text('occupation', null, array('class' => 'form-control')) }}
{{ Form::label('comment', 'Comment', ['class'=>'form-label']) }} {{ Form::textarea('comment', null, array('class' => 'form-control')) }}
{{ Form::label('profile', 'Profile', ['class'=>'form-label']) }} {{ Form::file('profile', array('class' => 'form-control', 'onchange' => 'loadFile(event)')) }}
{{ Form::label('status', 'Status', ['class'=>'form-label']) }} {{ Form::select('status', array('yes' => 'Yes', 'no' => 'No'),null,array('class' => 'form-control')) }}
{{ Form::submit('Create', array('class' => 'btn btn-primary')) }} {{ Form::close() }}
@stop