<!-- Modal -->
<?php $class = isset($class)? ' ' . $class : ''; ?>
<div class="modal fade{{ $class }}" id="{{ $id }}_modal" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" tabindex="-1" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title">{{ $title }}</h4>
            </div>
            @define $form['id'] = isset($form['id'])? $form['id'] : $id . '_form'
            {!! Form::open($form) !!}
                {!! csrf_field() !!}
                <div class="modal-body">
                    {{ $body }}
                </div>
                <div class="modal-footer">
                    {{ $footer }}
                </div>
            {!! Form::close() !!}
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->