@extends('admin.head')
@section('middle')
<section class="content">
@if(count($privacy_policy)>0)
@else
<a href="{{ url('add_privacy_policy') }}"><button class="btn btn-primary" style="float: right"><i class="glyphicon glyphicon-plus"></i>Add Privacy Policy</button></a>
@endif
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Privacy Policy</h3>
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="example1" class="table table-bordered table-striped">
<thead>
<tr>
<th>Description</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@foreach($privacy_policy as $policy)
<tr>
<td><?php echo $policy->description ?></td>
<td style="width: 20%">
<a style="margin: 5px;" href="{{ url('edit_privacy_policy') }}/{{ $policy->privacy_id }}" class="btn btn-primary"><i class="glyphicon glyphicon-pencil"></i></a>
<a data-toggle="modal" data-target="#confirm-delete" data-href="{{ url('delete_privacy_policy') }}/{{ $policy->privacy_id }}" class="btn btn-danger"><i class="glyphicon glyphicon-trash"></i></a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
@endsection
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]