sibanu_web/resources/views/admin/pengguna/modal_edit.blade.php
2022-08-20 13:40:13 +07:00

69 lines
2.6 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>