modal_email.blade.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <div class="modal fade modal-email" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel">
  2. <div class="modal-dialog" role="document">
  3. <div class="modal-content">
  4. {{-- <form action="{{url('admin/send_email_to_company')}}" method="POST"> --}}
  5. <div class="modal-header">
  6. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  7. <span aria-hidden="true">&times;</span>
  8. </button>
  9. <h4 class="modal-title" id="gridSystemModalLabel">Send email</h4>
  10. </div>
  11. <div class="modal-body">
  12. <div class="row">
  13. <label for="">To: </label>
  14. <input type="text" placeholder="Eamil receiver" class="form-control to-email">
  15. </div>
  16. <div class="row">
  17. <label for="">Email Subject:</label>
  18. <input type="text" placeholder="Email Subject" name="subj" class="form-control email_subj" required="required">
  19. </div>
  20. <div class="row">
  21. <label for="">Email Body:</label>
  22. <textarea type="text" placeholder="Email body" name="email_body" id="editor1" required="required" class="form-control email_body" rows="10"></textarea>
  23. </div>
  24. <div class="row">
  25. <label for="">Attachment:</label>
  26. <select name="attachment_id" class="form-control attachment_id">
  27. <option value="0">Select File</option>
  28. @if($filess)
  29. @foreach($filess as $fil)
  30. <option value="{{$fil->id}}">{{$fil->name}}</option>
  31. @endforeach
  32. @endif
  33. </select>
  34. </div>
  35. </div>
  36. <div class="modal-footer">
  37. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  38. <button type="submit" class="btn btn-primary email-send">Send</button>
  39. </div>
  40. {{-- </form> --}}
  41. </div><!-- /.modal-content -->
  42. </div><!-- /.modal-dialog -->
  43. </div>