Nessuna descrizione

feedback.blade.php 2.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @extends('layouts.master')
  2. @section('navigation')
  3. @if ($user->role == 1)
  4. @include('local.managers.admins._new_navigation')
  5. @elseif($user->role == 2)
  6. @include('local.managers.sCoords._new_navigation')
  7. @elseif($user->role == 3)
  8. @include('local.managers.pCoords._new_navigation')
  9. @else
  10. @include('local.professors._navigation')
  11. @endif
  12. @stop
  13. @section('main')
  14. <div class="row">
  15. <div class="col-md-12">
  16. <p>Use this form to let us know of any comments you have about the application. Please note that all fields are
  17. required. When writing comments, be as descriptive as possible, especially when you want to report errors.
  18. Include the name of the page you are commenting about, if applicable. Once you are done, click 'Send'. A
  19. copy will be sent to your chosen email address.</p>
  20. {{ Form::open(['action' => 'FeedbackController@send', 'class' => 'form-horizontal']) }}
  21. <div class="form-group">
  22. {{ Form::label('type', 'Type of Comment', ['class' => 'col-md-2']) }}
  23. <div class="col-md-10">
  24. {{ Form::select(
  25. 'type',
  26. [
  27. '0' => 'Error Report',
  28. '1' => 'Question',
  29. '2' => 'Suggestion',
  30. '3' => 'Other',
  31. ],
  32. null,
  33. ['class' => 'form-control', 'name' => 'type']
  34. ) }}
  35. </div>
  36. </div>
  37. <div class="form-group">
  38. {{ Form::label('email', 'Copy to', ['class' => 'col-md-2']) }}
  39. <div class="col-md-10">
  40. <select name="email" id="email" class="form-control" aria-labelledby="email">
  41. <option value="{{ $user->email }}">{{ $user->email }}</option>
  42. @if ($user->alternate_email != null)
  43. <option value="{{ $user->alternate_email }}">{{ $user->alternate_email }}</option>
  44. @endif
  45. </select>
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <div class="col-md-12">
  50. {{ Form::label('comment', 'Comment') }}
  51. {{ Form::textarea('comment', '', ['class' => 'form-control', 'name' => 'comment']) }}
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <div class="col-md-12">
  56. {{ Form::submit('Send', ['class' => 'btn btn-lg btn-primary pull-right']) }}
  57. </div>
  58. </div>
  59. {{ Form::close() }}
  60. </div>
  61. </div>
  62. @stop