/
home
/
techb158
/
ileadtechnology.com
/
resources
/
views
/
admin
/
course
/
appointment
/
/home/techb158/ileadtechnology.com/resources/views/admin/course/appointment
mkdir
upload
Name
Size
Mode
Actions
index.blade.php
2126
0644
edit
dl
rm
view.blade.php
3479
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/resources/views/admin/course/appointment/index.blade.php
(2126B)
<section class="content"> <div class="row"> <div class="col-md-12"> <br> <div class="table-responsive"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>#</th> <th>{{ __('adminstaticword.User') }}</th> <th>{{ __('adminstaticword.Course') }}</th> <th>{{ __('adminstaticword.Instructor') }}</th> <th>{{ __('adminstaticword.Title') }}</th> <th>{{ __('adminstaticword.Accepted') }}</th> <th>{{ __('adminstaticword.View') }}</th> <th>{{ __('adminstaticword.Delete') }}</th> </tr> </thead> <tbody> <?php $i=0;?> @foreach($appointment as $appoint) <tr> <?php $i++;?> <td><?php echo $i;?></td> <td>{{$appoint->user->fname}}</td> <td>{{$appoint->courses->title}}</td> <td>{{$appoint->instructor->fname}}</td> <td>{{ $appoint->title }}</td> <td> @if($appoint->accept==1) {{ __('adminstaticword.Yes') }} @else {{ __('adminstaticword.No') }} @endif </td> <td> <a class="btn btn-success btn-sm" href="{{url('appointment/'.$appoint->id)}}">{{ __('adminstaticword.View') }}</a> </td> <td> <form method="post" action="{{url('appointment/'.$appoint->id)}}" ata-parsley-validate class="form-horizontal form-label-left"> {{ csrf_field() }} {{ method_field('DELETE') }} <button type="submit" class="btn btn-danger btn-sm"><i class="fa fa-fw fa-trash-o"></i></button> </form> </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </section>
Save
cmd:
run