-5
<div class="tab-content">
<div class="tab-pane active" id="horizontal-form">
@include('layouts.common.flash-message')
{!! Form::open(array('url' => 'jobseekerupdate/'.$jobseekerData[0]->job_seekerid,'class'=>'form-horizontal','files'=>'true'))!!}
<div class="form-group">
<label for="focusedinput" class="col-sm-2 control-label">Gender:* </label>
<div class="col-sm-3">
<div class="radio-inline"><label><input name="gender" type="radio" value="Male"<?php echo ($jobseekerData[0]=='Male')?'checked="checked"' ?>> Male</label></div>
<div class="radio-inline"><label><input name="gender" type="radio" value="Female"<?php echo ($jobseekerData[0]=='Female')?'checked="checked"' ?>>Female</label></div>
<div class="radio-inline"><label><input name="gender" type="radio" value="Others" <?php echo ($jobseekerData[0]=='Others')?'checked="checked"' ?>> Others</label></div>-->
<p><span>{{$errors->first('gender')}}</span></p>
</div>
<label for="focusedinput" class="col-sm-2 control-label">Marital Status:*</label>
<div class="col-sm-4">
<div class="radio-inline"><label><input name="marital_status" type="radio" value="Single">Single</label></div>
<div class="radio-inline"><label><input name="marital_status" type="radio" value="Married">Married</label></div>
<div class="radio-inline"><label><input name="marital_status"type="radio" value="Un Married">Un Married</label></div>
<p><span>{{$errors->first('marital_status')}}</span></p>
</div>
</div>
<div class="col-sm-1"></div>
</div>
<div class="panel-footer">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<input type="submit" class="btn-success btn" value="Submit">
<a href="{{url('jobseekerlist')}}"> <input type="buuton" style="width: 80px;" class="btn-success btn" value="Cancel"></a>
</div>
</div>
</div>
{!! Form::close()!!}
</div>
如何編輯單選按鈕值??????我的代碼可能在上述情況下顯示...請爲我的上述問題提供正確的解決方案?如何編輯複選框值?
描述您的問題妥善..... – GYaN
給出編碼完美的作品,而在插入但在編輯性別和婚姻狀況值不爲edit..so如何獲取數據庫中的值並顯示在可編輯的值中 –
給出您的編輯查詢... – GYaN