trs_matrimony/resources/views/frontend/member/profile/education/edit.blade.php
2024-08-22 09:31:12 +05:30

52 lines
2.4 KiB
PHP

<form action="{{ route('education.update', $education->id) }}" method="POST">
<input name="_method" type="hidden" value="PATCH">
@csrf
<div class="modal-header">
<h5 class="modal-title h6">{{translate('Edit Education Info')}}</h5>
<button type="button" class="close" data-dismiss="modal">
</button>
</div>
<div class="modal-body">
<div class="form-group row">
<label class="col-md-3 col-form-label">{{translate('Degree')}}
<!-- development-change -->
<span class="text-danger">*</span>
</label>
<div class="col-md-9">
<input type="text" name="degree" value="{{$education->degree}}" class="form-control" placeholder="{{translate('Degree')}}" required>
</div>
</div>
<div class="form-group row">
<label class="col-md-3 col-form-label">{{translate('Institution')}}
<!-- development-change -->
<span class="text-danger">*</span>
</label>
<div class="col-md-9">
<input type="text" name="institution" value="{{$education->institution}}" placeholder="{{ translate('Institution') }}" class="form-control" required>
</div>
</div>
<div class="form-group row">
<label class="col-md-3 col-form-label">{{translate('Start')}}
<!-- development-change -->
<span class="text-danger">*</span>
</label>
<div class="col-md-9">
<input type="number" name="education_start" value="{{$education->start}}" class="form-control" placeholder="{{translate('Start')}}" required>
</div>
</div>
<div class="form-group row">
<label class="col-md-3 col-form-label">{{translate('End')}}
<!-- development-change -->
<span class="text-danger">*</span>
</label>
<div class="col-md-9">
<input type="number" name="education_end" value="{{$education->end}}" placeholder="{{ translate('End') }}" class="form-control" >
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-light" data-dismiss="modal">{{translate('Close')}}</button>
<button type="submit" class="btn btn-primary">{{translate('Update Education Info')}}</button>
</div>
</form>