62 lines
2.5 KiB
PHP
62 lines
2.5 KiB
PHP
|
||
<div class="modal fade" id="modal_add" tabindex="-1" role="dialog" aria-labelledby="modal_add" 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">Tambah 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.store') ?>" method="post">
|
||
@csrf
|
||
<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 $i)
|
||
<option value="{{ $i->id }}">{{ $i->nama_divisi }}</option>
|
||
@endforeach
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<div class="modal-footer">
|
||
<button type="submit" class="btn btn-primary">Simpan </button>
|
||
|
||
</form>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</div> |