<div class="row mb-3">
    <label for="user-name" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('Name') }}<span class="text-danger ms-1">*</span></label>
    <div class="col-sm-8">
        <input type="text" name="name" class="form-control ol-form-control" id="user-name" @isset($instructor->name) value="{{ $instructor->name }}" @endisset required>
    </div>
</div>


<div class="row mb-3">
    <label for="short_description" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('Biography') }}</label>
    <div class="col-sm-8">
        <textarea name="about" rows="3" class="form-control ol-form-control" id="short_description">@isset($instructor->about){{ $instructor->about }}@endisset</textarea>
    </div>
</div>


<div class="row mb-3">
    <label for="user-phone" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('Phone') }}</label>
    <div class="col-sm-8">
        <input type="text" name="phone" class="form-control ol-form-control" id="user-phone" @isset($instructor->phone) value="{{ $instructor->phone }}" @endisset>
    </div>
</div>

<div class="row mb-3">
    <label for="user-address" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('Address') }}</label>
    <div class="col-sm-8">
        <input type="text" name="address" class="form-control ol-form-control" id="user-address" @isset($instructor->address) value="{{ $instructor->address }}" @endisset>
    </div>
</div>
<div class="row mb-3">
    <label for="photo" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('User image') }}</label>
    <div class="col-sm-8">
        <input type="file" name="photo" class="form-control ol-form-control" id="photo">
    </div>
</div>

<div class="row mb-3">
    <label for="user-nidn" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('NIDN') }}</label>
    <div class="col-sm-8">
        <input type="number" name="nidn" class="form-control ol-form-control" id="user-nidn" @isset($instructor->nidn) value="{{ $instructor->nidn }}" @endisset>
    </div>
</div>
<div class="row mb-3">
    <label for="user-id_sdm" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('ID_SDM') }}</label>
    <div class="col-sm-8">
        <input type="text" name="id_sdm" class="form-control ol-form-control" id="user-id_sdm" @isset($instructor->id_sdm) value="{{ $instructor->id_sdm }}" @endisset>
    </div>
</div>
<div class="row mb-3">
    <label for="user-id_sms" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('ID_SMS') }}</label>
    <div class="col-sm-8">
        <input type="text" name="id_sms" class="form-control ol-form-control" id="user-id_sms" @isset($instructor->id_sms) value="{{ $instructor->id_sms }}" @endisset>
    </div>
</div>
<div class="row mb-3">
    <label for="user-id_pt" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('ID_PT') }}</label>
    <div class="col-sm-8">
        <input type="text" name="id_pt" class="form-control ol-form-control" id="user-id_pt" @isset($instructor->id_pt) value="{{ $instructor->id_pt }}" @endisset>
    </div>
</div>
<div class="row mb-3">
    <label for="user-status" class="form-label ol-form-label col-sm-2 col-form-label">{{ get_phrase('Status') }}</label>
    <div class="col-sm-8">
        <input type="hidden" name="status" value="0">
        <div class="form-check">
            <input type="checkbox" class="form-check-input" id="status_checkbox" name="status" value="1"
                {{ isset($instructor) && $instructor->status == 1 ? 'checked' : '' }}>
            <label class="form-check-label" for="status_checkbox">{{ get_phrase('Checked if the instructor is active') }}</label>
        </div>
    </div>
</div>
