register.blade.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @extends('layouts.app')
  2. @section('content')
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-sm-8 col-sm-offset-2">
  6. <div class="panel panel-default">
  7. <div class="panel-heading">Register</div>
  8. <div class="panel-body">
  9. @include('partials.errors.basic')
  10. <form class="form-horizontal" role="form" method="POST" action="/auth/register">
  11. <input type="hidden" name="_token" value="{{ csrf_token() }}">
  12. <div class="form-group">
  13. <label for="email" class="col-sm-3 control-label">Name</label>
  14. <div class="col-sm-6">
  15. <input type="text" id="name" name="name" class="form-control" placeholder="Name" value="{{ old('name') }}">
  16. </div>
  17. </div>
  18. <div class="form-group">
  19. <label for="email" class="col-sm-3 control-label">Email</label>
  20. <div class="col-sm-6">
  21. <input type="email" id="email" name="email" class="form-control" placeholder="Email" autocapitalize="off" value="{{ old('email') }}">
  22. </div>
  23. </div>
  24. <div class="form-group">
  25. <label for="password" class="col-sm-3 control-label">Password</label>
  26. <div class="col-sm-6">
  27. <input type="password" name="password" class="form-control" placeholder="Password">
  28. </div>
  29. </div>
  30. <div class="form-group">
  31. <label for="password" class="col-sm-3 control-label">Confirm Password</label>
  32. <div class="col-sm-6">
  33. <input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password">
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <div class="col-sm-offset-3 col-sm-3">
  38. <button type="submit" class="btn btn-primary"><i class="fa fa-btn fa-user"></i>Register</button>
  39. </div>
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. @stop