Exemple #1
0
                                                   Register New Exam Type
                                            </button>
                                    
                                    <p>
                                      
                                <table class="table">
                                    <thead>
                                        <tr>
                                            <th>#</th>
                                            <th>Exam Type</th>
                                            <th>Remarks</th>
                                             </tr>
                                    </thead>
                                    <tbody>
                                        <?php 
$exam_types = ExamType::all();
?>
                                        @foreach($exam_types as $exam_type)
                                        <tr>
                                            <td>{{$exam_type->id}}</td>
                                            <td>{{$exam_type->name}}</td>
                                            <td>{{$exam_type->description}}</td>
                                            <td>
        <a href="{{ URL::route('edit-exam-type' ,array('id'=>$exam_type->id))}}"
    data-toggle="tooltip" data-placement="left" title="Edit {{ $exam_type->name }} {{ $exam_type->description }} " >
        <img src="{{asset('images/ico/actions-edit.png')}}"/></a>
       <a href="{{ URL::route('add-exam' ,array('id'=>$exam_type->id))}}"
    data-toggle="tooltip" data-placement="left" title="Add Exams for {{ $exam_type->name }} {{ $exam_type->description }} " >
        <img src="{{asset('images/ico/add_new.png')}}"/></a>
         </td>
                                           </tr>