kolom aktif dan browse

This commit is contained in:
2026-05-08 16:00:01 +07:00
parent e57e6b882c
commit ac9335bde5
6 changed files with 93 additions and 6 deletions
@@ -59,6 +59,28 @@
<label class="form-label" for="add-kolom-validasi">Validasi<span class="text-danger">*</span></label>
<textarea class="form-control" id="add-kolom-validasi" name="validasi" value="1" placeholder="Cth: required"></textarea>
</div>
<div class="mb-6 form-control-validation">
<label class="switch">
<input type="hidden" name="is_active" value="0"/>
<input type="checkbox" class="switch-input" name="is_active" checked value="1"/>
<span class="switch-toggle-slider">
<span class="switch-on"></span>
<span class="switch-off"></span>
</span>
<span class="switch-label">Aktif</span>
</label>
</div>
<div class="mb-6 form-control-validation">
<label class="switch">
<input type="hidden" name="is_browse" value="0"/>
<input type="checkbox" class="switch-input" name="is_browse" value="1"/>
<span class="switch-toggle-slider">
<span class="switch-on"></span>
<span class="switch-off"></span>
</span>
<span class="switch-label">Tampil di Halaman Daftar/List</span>
</label>
</div>
<button type="submit" class="btn btn-success me-3 data-submit">Simpan</button>
<button type="reset" class="btn btn-label-danger" data-bs-dismiss="offcanvas">Batal</button>