<!-- Modal -->
@define $class = isset($class)? ' ' . $class : '';
@define $class_modal = isset($class_modal)? ' ' . $class_modal : '';
<div class="modal fade{{ $class }}" id="{{ $id }}_modal" role="dialog" aria-hidden="true">
    <div class="modal-dialog{{ $class_modal }}">
        <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>
            <div class="modal-body">
                {{ $body }}
            </div>
            <div class="modal-footer">
                {{ $footer }}
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
