
@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">Why Soty </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="dropdown pull-right">
                                <a href="#" class="dropdown-toggle card-drop" data-toggle="dropdown" aria-expanded="false">
                                    <i class="zmdi zmdi-more-vert"></i>
                                </a>
                                <ul class="dropdown-menu" role="menu">
                                    <li><a href="#">Action</a></li>
                                    <li><a href="#">Another action</a></li>
                                    <li><a href="#">Something else here</a></li>
                                    <li class="divider"></li>
                                    <li><a href="#">Separated link</a></li>
                                </ul>
                            </div>

                            <div class="row">
                                <div class="col-md-12">
                              
                                {!! Form::open(['url' => 'admin/updateadmisssioninfo']) !!}
                                  {{ csrf_field() }}
                                   <div class="editor">
                                   
                                     <textarea id="editor" class="form-control textarea" rows="13" name="description" required="">{{ $description->description }}</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