Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="form-group{{ $errors->has('username') ? ' has-error' : '' }}">
- <label class="pull-left">บัญชีผู้ใช้งาน * </label>
- {!! Form::text('username', old('username'), [
- 'class'=>'form-control',
- 'required'=>'required',
- 'autofocus'=>'',
- ])!!}
- @if ($errors->has('username'))
- <span class="help-block">
- <strong>{{ $errors->first('username') }}</strong>
- </span>
- @endif
- </div>
- <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
- <label class="pull-left">รหัสผ่าน * </label>
- <input id="password" type="password" class="form-control" placeholder=""
- name="password" required>
- @if ($errors->has('password'))
- <span class="help-block">
- <strong>{{ $errors->first('password') }}</strong>
- </span>
- @endif
- </div>
- <div class="form-group">
- <label class="pull-left">ยืนยันรหัสผ่าน * </label>
- <input id="password-confirm" type="password" class="form-control"
- name="password_confirmation" required>
- </div>
- <div class="form-group{{ $errors->has('title') ? ' has-error' : '' }}">
- <label class="pull-left">คำนำหน้า * </label>
- {!! Form::select('title', array('นาย' => 'นาย', 'นาง' => 'นาง', 'นางสาว' => 'นางสาว'),old('title'), [
- 'class'=>'form-control',
- 'placeholder' => 'กรุณาเลือก',
- 'required'=>'required',
- 'autofocus'=>''
- ])!!}
- @if ($errors->has('title'))
- <span class="help-block">
- <strong>{{ $errors->first('title') }}</strong>
- </span>
- @endif
- </div>
- <div class="form-group{{ $errors->has('fname') ? ' has-error' : '' }}">
- <label class="pull-left">ชื่อ * </label>
- <input id="fname" type="text" class="form-control" placeholder=""
- name="fname"
- value="{{ old('fname') }}" required autofocus>
- @if ($errors->has('fname'))
- <span class="help-block">
- <strong>{{ $errors->first('fname') }}</strong>
- </span>
- @endif
- </div>
- <div class="form-group{{ $errors->has('lname') ? ' has-error' : '' }}">
- <label class="pull-left">นามสกุล * </label>
- <input id="lname" type="text" class="form-control" placeholder=""
- name="lname"
- value="{{ old('lname') }}" required autofocus>
- @if ($errors->has('lname'))
- <span class="help-block">
- <strong>{{ $errors->first('lname') }}</strong>
- </span>
- @endif
- </div>
- <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
- <label class="pull-left">อีเมล * </label>
- <input id="email" type="text" class="form-control" placeholder=""
- name="email"
- value="{{ old('email') }}" required autofocus>
- @if ($errors->has('email'))
- <span class="help-block">
- <strong>{{ $errors->first('email') }}</strong>
- </span>
- @endif
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement