create.blade.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. @extends('layouts.master')
  2. @section('content')
  3. <div class="col-sm-8">
  4. <h1>Register</h1>
  5. <form method="post" action="/register">
  6. {{ csrf_field() }}
  7. @include('layouts.errors')
  8. <div class="form-group">
  9. <label for="name">Name:</label>
  10. <input type="text" class="form-control"
  11. id="name" name="name" required />
  12. </div>
  13. <div class="form-group">
  14. <label for="email">E-mail:</label>
  15. <input type="text" class="form-control"
  16. id="email" name="email" required />
  17. </div>
  18. <div class="form-group">
  19. <label for="password">Password:</label>
  20. <input type="password" class="form-control"
  21. id="password" name="password" required />
  22. <label for="password_confirmation">Password confirmation:</label>
  23. <input type="password" class="form-control"
  24. id="password_confirmation" name="password_confirmation" required />
  25. </div>
  26. <div class="form-group">
  27. <button type="submit" class="btn btn-primary">Register</button>
  28. </div>
  29. </form>
  30. </div>
  31. @endsection