register.blade.php 1.7 KB

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