Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. <div class="form-group{{ $errors->has('username') ? ' has-error' : '' }}">
  2. <label class="pull-left">บัญชีผู้ใช้งาน * </label>
  3. {!! Form::text('username', old('username'), [
  4. 'class'=>'form-control',
  5. 'required'=>'required',
  6. 'autofocus'=>'',
  7. ])!!}
  8.  
  9. @if ($errors->has('username'))
  10. <span class="help-block">
  11. <strong>{{ $errors->first('username') }}</strong>
  12. </span>
  13. @endif
  14. </div>
  15.  
  16. <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
  17. <label class="pull-left">รหัสผ่าน * </label>
  18. <input id="password" type="password" class="form-control" placeholder=""
  19. name="password" required>
  20.  
  21. @if ($errors->has('password'))
  22. <span class="help-block">
  23. <strong>{{ $errors->first('password') }}</strong>
  24. </span>
  25. @endif
  26. </div>
  27.  
  28. <div class="form-group">
  29. <label class="pull-left">ยืนยันรหัสผ่าน * </label>
  30. <input id="password-confirm" type="password" class="form-control"
  31. name="password_confirmation" required>
  32. </div>
  33.  
  34. <div class="form-group{{ $errors->has('title') ? ' has-error' : '' }}">
  35. <label class="pull-left">คำนำหน้า * </label>
  36. {!! Form::select('title', array('นาย' => 'นาย', 'นาง' => 'นาง', 'นางสาว' => 'นางสาว'),old('title'), [
  37. 'class'=>'form-control',
  38. 'placeholder' => 'กรุณาเลือก',
  39. 'required'=>'required',
  40. 'autofocus'=>''
  41. ])!!}
  42.  
  43. @if ($errors->has('title'))
  44. <span class="help-block">
  45. <strong>{{ $errors->first('title') }}</strong>
  46. </span>
  47. @endif
  48. </div>
  49.  
  50. <div class="form-group{{ $errors->has('fname') ? ' has-error' : '' }}">
  51. <label class="pull-left">ชื่อ * </label>
  52. <input id="fname" type="text" class="form-control" placeholder=""
  53. name="fname"
  54. value="{{ old('fname') }}" required autofocus>
  55.  
  56. @if ($errors->has('fname'))
  57. <span class="help-block">
  58. <strong>{{ $errors->first('fname') }}</strong>
  59. </span>
  60. @endif
  61. </div>
  62.  
  63. <div class="form-group{{ $errors->has('lname') ? ' has-error' : '' }}">
  64. <label class="pull-left">นามสกุล * </label>
  65. <input id="lname" type="text" class="form-control" placeholder=""
  66. name="lname"
  67. value="{{ old('lname') }}" required autofocus>
  68.  
  69. @if ($errors->has('lname'))
  70. <span class="help-block">
  71. <strong>{{ $errors->first('lname') }}</strong>
  72. </span>
  73. @endif
  74. </div>
  75.  
  76. <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
  77. <label class="pull-left">อีเมล * </label>
  78. <input id="email" type="text" class="form-control" placeholder=""
  79. name="email"
  80. value="{{ old('email') }}" required autofocus>
  81.  
  82. @if ($errors->has('email'))
  83. <span class="help-block">
  84. <strong>{{ $errors->first('email') }}</strong>
  85. </span>
  86. @endif
  87. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement