@extends('main')

@section('css')
<link href="{{ asset('/css/bootstrapValidator.min.css')}}" rel="stylesheet">
<link href="{{ asset('plugins/datatables/css/jquery.dataTables.css')}}" rel="stylesheet">
@endsection

@section('content')
<section class="main_content">
    <div class="container">
    <ol class="breadcrumb cust-breadcrumb">
              <li><a href="{{url('/')}}">Home</a></li>
              <li><a href="{{url('/legal')}}">Legal</a></li>
              <li class="active">{{ucwords($page->title)}}</li>
            </ol>
      <div class="row talent_home">
        <div class="col-md-12 col-sm-12">
          <div class="rt-panel-block">
        <div class="my-profiles-block"> 
        
          <h1 class="heading pull-left">{{ucwords($page->title)}}</h1>
          <div class="row">
              <div class="clearfix"></div>
              @if (Session::get('error_msg'))
                <div class="col-md-12">
                  <div class="alert alert-danger">
                     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                       <span aria-hidden="true">&times;</span>
                     </button>
                      {{Session::get('error_msg')}}
                  </div>
                </div>
              @endif
              @if (Session::get('succ_msg'))
                <div class="col-md-12">
                  <div class="alert alert-success">
                     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                       <span aria-hidden="true">&times;</span>
                     </button>
                      {{Session::get('succ_msg')}}
                  </div>
                </div>
              @endif
             <br>
            <div class="col-md-12 legal_title">
                <span class="legal_sub">Sub&nbsp;:&nbsp;</span> <?php echo ucfirst($page->subject);?>
            </div>
              <br><br>
            <div class="col-md-12">
                <span class="legal_sub">Description</span><br>
            <?php echo $page->content;?>
                
            </div>
          </div>
        </div></div></div>
  </section>
@endsection
@section('js')
<script src="{{ asset('js/bootstrapValidator.min.js')}}"></script>
@endsection
