暫無描述

feedback.blade.php 2.1KB

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