<h4 class="text-center" style="font-weight: bold;">Data Bantuan Sosial</h4>
<hr>

<div class="row">
  <div class="col-md-4 form-group">
    <label>Penerima KPS</label>
    <select name="bantuan_sosial[penerima_kps]" class="form-control text-dark" required>
      <option value="" selected hidden>pilih</option>
      <option value="Ya" {{ old('bantuan_sosial.penerima_kps', $siswa->bantuan_sosial['penerima_kps'] ?? '') == 'Ya' ? 'selected' : '' }}>Ya</option>
      <option value="Tidak" {{ old('bantuan_sosial.penerima_kps', $siswa->bantuan_sosial['penerima_kps'] ?? '') == 'Tidak' ? 'selected' : '' }}>Tidak</option>
    </select>
  </div>

  <div class="col-md-4 form-group">
    <label>Nomor KPS</label>
    <input type="text" name="bantuan_sosial[no_kps]" value="{{ old('bantuan_sosial.no_kps', $siswa->bantuan_sosial['no_kps'] ?? '') }}" class="form-control">
  </div>

  <div class="col-md-4 form-group">
    <label>Penerima KIP</label>
    <select name="bantuan_sosial[penerima_kip]" class="form-control text-dark" required>
      <option value="" selected hidden>pilih</option>
      <option value="Ya" {{ old('bantuan_sosial.penerima_kip', $siswa->bantuan_sosial['penerima_kip'] ?? '') == 'Ya' ? 'selected' : '' }}>Ya</option>
      <option value="Tidak" {{ old('bantuan_sosial.penerima_kip', $siswa->bantuan_sosial['penerima_kip'] ?? '') == 'Tidak' ? 'selected' : '' }}>Tidak</option>
    </select>
  </div>

  <div class="col-md-4 form-group">
    <label>Nomor KIP</label>
    <input type="text" name="bantuan_sosial[no_kip]" value="{{ old('bantuan_sosial.no_kip', $siswa->bantuan_sosial['no_kip'] ?? '') }}" class="form-control">
  </div>

  <div class="col-md-4 form-group">
    <label>Nama di KIP</label>
    <input type="text" name="bantuan_sosial[nama_di_kip]" value="{{ old('bantuan_sosial.nama_di_kip', $siswa->bantuan_sosial['nama_di_kip'] ?? '') }}" class="form-control">
  </div>

  <div class="col-md-4 form-group">
    <label>Nomor KKS</label>
    <input type="text" name="bantuan_sosial[no_kks]" value="{{ old('bantuan_sosial.no_kks', $siswa->bantuan_sosial['no_kks'] ?? '') }}" class="form-control">
  </div>

  <div class="col-md-4 form-group">
    <label>Layak PIP (Usulan Sekolah)</label>
    <select name="bantuan_sosial[layak_pip]" class="form-control text-dark" required>
      <option value="" selected hidden>pilih</option>
      <option value="Ya" {{ old('bantuan_sosial.layak_pip', $siswa->bantuan_sosial['layak_pip'] ?? '') == 'Ya' ? 'selected' : '' }}>Ya</option>
      <option value="Tidak" {{ old('bantuan_sosial.layak_pip', $siswa->bantuan_sosial['layak_pip'] ?? '') == 'Tidak' ? 'selected' : '' }}>Tidak</option>
    </select>
  </div>

  <div class="col-md-8 form-group">
    <label>Alasan Layak PIP</label>
    <input type="text" name="bantuan_sosial[alasan_layak_pip]" value="{{ old('bantuan_sosial.alasan_layak_pip', $siswa->bantuan_sosial['alasan_layak_pip'] ?? '') }}" class="form-control">
  </div>
</div>
