@extends('admin.layouts.app')
@section('contentSection')
<div class="row">
    <div class="col-lg-12">
        <div class="card">
            <div class="card-header">
                <div class="pull-left"><i class="fa fa-table"></i> Features / Amenities (<span id="module_total_count"></span>)
                </div>
                <div class="pull-right">
                    <button type="button" data-toggle="modal" data-target="#addFeatureModal" class="btn btn-primary"><i
                            class="fa fa-plus"></i> Add Feature / Amenity
                    </button>
                </div>
            </div>
            <div class="card-body">
                <div class="table-responsive">
                    <table id="featuresListTable" class="table table-bordered" style="width: 100%"></table>
                </div>
            </div>
        </div>
    </div>
</div>
@stop

@section('pageSpecificScripts')
@include('admin.features.featuresListTemplate')
@include('admin.features.modals.addFeatureModal')
@include('admin.features.modals.editFeatureModal')
<script src="{{ asset('back_assets/assets/plugins/summernote/dist/summernote-bs4.min.js') }}"></script>
<script src="{{asset('back_assets/assets/plugins/bootstrap-datatable/js/jquery.dataTables.min.js')}}"></script>
<script src="{{asset('back_assets/assets/plugins/bootstrap-datatable/js/dataTables.bootstrap4.min.js')}}"></script>
<script src="{{asset('back_assets/assets/js/app/featuresScript.js')}}?{{ app_version() }}"></script>
@stop