69 lines
2.6 KiB
PHP
69 lines
2.6 KiB
PHP
|
||
<div class="modal fade" id="modal_edit" tabindex="-1" role="dialog" aria-labelledby="modal_edit" aria-hidden="true">
|
||
<div class="modal-dialog modal-lg modal-" role="document">
|
||
<div class="modal-content">
|
||
|
||
<div class="modal-header">
|
||
<h2 class="modal-title" id="modal-title-default">Update Data Pengguna</h2>
|
||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||
<span aria-hidden="true">×</span>
|
||
</button>
|
||
</div>
|
||
|
||
<div class="modal-body">
|
||
|
||
<div class="text-center text-muted mb-4">
|
||
<small></small>
|
||
</div>
|
||
|
||
<form role="form" action="<?= route('pengguna.updates') ?>" method="post">
|
||
@csrf
|
||
@method('put')
|
||
<input type="hidden" name="id" />
|
||
<div class="form-group mb-3">
|
||
<div class="input-group input-group-alternative">
|
||
<div class="input-group-prepend">
|
||
<span class="input-group-text"><i class="fas fa-list"></i></span>
|
||
</div>
|
||
<input class="form-control" required placeholder="inputkan nama ..." type="text" name="nama">
|
||
</div>
|
||
</div>
|
||
<div class="form-group mb-3">
|
||
<div class="input-group input-group-alternative">
|
||
<div class="input-group-prepend">
|
||
<span class="input-group-text"><i class="fas fa-list"></i></span>
|
||
</div>
|
||
<input class="form-control" required placeholder="inputkan Nip / Nrp ..." type="text" name="no_identitas">
|
||
</div>
|
||
</div>
|
||
|
||
<div class="form-group mb-3">
|
||
|
||
<div class="input-group input-group-alternative">
|
||
<div class="input-group-prepend">
|
||
<span class="input-group-text"><i class="fas fa-list"></i></span>
|
||
</div>
|
||
<select name="divisi" required class="form-control">
|
||
<option value="">-- Pilih Divisi -- </option>
|
||
|
||
@foreach($divisi as $d)
|
||
<option value="<?= $d->id ?>"><?= $d->nama_divisi ?></option>
|
||
@endforeach
|
||
</select>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
</div>
|
||
|
||
<div class="modal-footer">
|
||
<button type="submit" class="btn btn-primary">Update </button>
|
||
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|