
@extends('admin.layouts.app')

@section('header-script')
    @include('admin.layouts.forms-header-script')
@endsection


@section('content')
   <!-- Page-Title -->
                <div class="row">
                    <div class="col-sm-12">
                       
                        <h4 class="page-title">About Us</h4>
                        
                          @foreach (['danger', 'warning', 'success', 'info'] as $key)
                            @if(Session::has($key))
                                 <p class="alert alert-{{ $key }}"><i class="fa fa-info-circle" style="color: #fe6271;"></i> {{ Session::get($key) }}</p>
                            @endif
                        @endforeach
                        
                    </div>
                </div>
 
                  
                <div class="row">
                    <div class="col-sm-12">
                        <div class="card-box">
                        
                            <div class="row">
                                <div class="col-md-12">
                              
                                {!! Form::open(['url' => 'admin/updatehistory']) !!}
                                {{ csrf_field() }}

                                    <div class="editor">
                                        <textarea id="editor" class="textarea form-control" rows="13" name="aboutus" required="">{{ $history->aboutus }}</textarea>
                                    </div>
                                    
                                    <br />
                                    <button type="submit" class="btn btn-custom btn-bordred waves-effect waves-light w-md m-b-5 pull-right">Update</button>
                                {!! Form::close() !!}
                                     <br />
                                </div><!-- end col -->
                            </div><!-- end row -->
                        </div>
                    </div><!-- end col -->
                </div>
                <!-- end row -->
 @endsection

 @section('footer-script')
     @include('admin.layouts.form-elements-footer-script')
 @endsection