<div class="modal fade modal-email" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
        {{-- <form action="{{url('admin/send_email_to_company')}}" method="POST"> --}}
        
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="gridSystemModalLabel">Send email</h4>
            </div>
            <div class="modal-body">
                <div class="row">
                    <label for="">To: </label>
                    <input type="text" placeholder="Eamil receiver" class="form-control to-email">
                </div>
                <div class="row">
                    <label for="">Email Subject:</label>
                    <input type="text" placeholder="Email Subject" name="subj" class="form-control email_subj" required="required">
                </div>
                <div class="row">
                    <label for="">Email Body:</label>
                    <textarea type="text" placeholder="Email body" name="email_body" id="editor1" required="required" class="form-control email_body" rows="10"></textarea>
                </div>
                <div class="row">
                    <label for="">Attachment:</label>
                    <select name="attachment_id" class="form-control attachment_id">
                        <option value="0">Select File</option>
                        @if($filess)
                            @foreach($filess as $fil)
                                <option value="{{$fil->id}}">{{$fil->name}}</option>
                            @endforeach
                        @endif
                    </select>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                <button type="submit" class="btn btn-primary email-send">Send</button>
            </div>
        {{-- </form> --}}
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div>