@extends('layouts.default_module') @section('module_name') Manzil @stop @section('add_btn') {!! Form::open(['method' => 'get', 'route' => ['manzil.create'], 'files'=>true]) !!} {!! Form::submit('Add', ['class' => 'btn btn-success pull-right']) !!} {!! Form::close() !!} @stop @section('table-properties') width="400px" style="table-layout:fixed;" @endsection @section('table') {!! Form::open(['method' => 'get', 'route' => ['manzil.search'], 'files'=>true]) !!} @include('admin.manzil.partial.searchfilters') {!!Form::close() !!} {{-- @stop --}} Page Name En Name Ar Edit Delete @foreach($list as $s) {!! $s->page->page_num!!} {!! $s->name_en!!} {!! $s->name_ar!!} {!! link_to_action('Admin\ManzilController@edit', 'Edit', array($s->id), array('class' => 'badge bg-info')) !!} {!! Form::open(['method' => 'POST', 'route' => ['manzil.delete', $s->id]]) !!} Delete {!! Form::close() !!} @endforeach @section('pagination') {!! $list->render() !!}
{!! Form::open(['method' => 'get', 'route' => ['dashboard']]) !!} {!! Form::submit('Cancel', ['class' => 'btn btn-default btn-block btn-lg btn-parsley']) !!} {!! Form::close() !!}
@endsection @stop