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

62 lines
2.5 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_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>