<?php $__env->startSection('content'); ?>
<section class="content-header" dir="rtl" >
      <h1>
     Classes Show  
     <small>عرض الفئات</small>
      </h1>
      
    </section>
    <br/>
    <a href="<?php echo e(url('/class/create')); ?>"  class="btn btn-success">Create New Class </a><br/><br/>
<div class="box" >
            <div class="box-header">
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <table id="example1"  class="table table-bordered table-striped">
                <thead>
                <tr>
                  <th style="text-align:center;vertical-align: middle;"> Name-الاسم  </th>
                  <th style="text-align:center;vertical-align: middle;"> Created time - وقت الانشاء   </th>
                  <th style="text-align:center;vertical-align: middle;"> Updated time - وقت التعديل  </th>
                 
        				  <th style="text-align:center;vertical-align: middle;"> Actions  </th>
                </tr>
                </thead>
                <tbody>
                 <?php foreach( $classes as $class ): ?>   
                
                 
                
                 <tr>
                  
                  <td style="text-align:center; width:50px;word-break: break-word;" >  <?php echo e($class->name); ?> </td>
                  <td style="text-align:center; width:50px;word-break: break-word;"><?php echo e($class->created_at); ?> </td>
                  <td style="text-align:center; width:50px;word-break: break-word;"> <?php echo e($class->updated_at); ?>  </td>
                  <td style="text-align:center; width:50px;word-break: break-word;" > <a   href='<?php echo e(url("/class/edit/$class->id")); ?>'  > <i class="fa fa-edit" style="font-size:18px"></i>  </a> </td>
                </tr>
                <?php endforeach; ?>
                </tbody>
                
              </table>
            </div>
            <!-- /.box-body -->
          </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>