my_contact.blade.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. @extends('layouts.app', ['meta_description' => 'Contact Form'])
  2. @section('content')
  3. <br>
  4. <div class="container">
  5. <div class="row">
  6. <div class="col-md-8 col-md-offset-2">
  7. <div class="panel panel-default background-colored">
  8. <div class="panel-heading background-colored center">Formulaire de contact</div>
  9. <div class="panel-body"></div>
  10. <form class="form-horizontal" role="form" method="POST" action="{{ url('/contact') }}">
  11. <input type="hidden" name="_token" value="{!! csrf_token() !!}">
  12. <div class="form-group">
  13. <label class="col-md-4 control-label">Nom</label>
  14. <div class="col-md-6">
  15. <input type="text" class="form-control" name="name" value="{{ old('name') }}">
  16. </div>
  17. </div>
  18. <div class="form-group">
  19. <label class="col-md-4 control-label">Adresse e-mail</label>
  20. <div class="col-md-6">
  21. <input type="email" class="form-control" name="email" value="{{ old('email') }}">
  22. </div>
  23. </div>
  24. <div class="form-group">
  25. <label class="col-md-4 control-label">Votre message</label>
  26. <div class="col-md-6">
  27. <textarea rows="8" class="form-control" id="message"
  28. accesskey=""name="message">{{ old('message') }}</textarea>
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <div class="col-md-6 col-md-offset-8">
  33. <button type="submit" class="btn btn-primary">
  34. <i class="fa fa-btn fa-envelope-o"></i>Envoyer
  35. </button>
  36. </div>
  37. </div>
  38. </form>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. @endsection