Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
4.3 kB
1
Indexable
Never
<div class="modal" tabindex="-1" id="modal-displayedit">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">Detail Display Banner</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <form action="" method="post" id = "form-update-displaybanner">
                    @csrf
                    <div class="modal-body">
                        <div class="mb-3">
                            <label for="index" class="form-label">Urutan</label>
                            <input type="text" class="form-control" name="index" id = "db-index">
                        </div>
                        <div class="mb-3">
                            <label for="title" class="form-label">Title</label>
                            <input type="text" class="form-control" name="title" id = "db-title">
                        </div>
                        <div class="mb-3">
                            <label for="description" class="form-label">Description</label>
                            <input type="text" class="form-control" name="description" id = "db-description">
                        </div>
                        <div class="mb-3" id = "radio">
                            <label class="custom-control custom-radio">
                                <input type="radio" name="enabled" class="custom-control-input" value = "1"><span class="custom-control-label">Enabled</span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" name="enabled" class="custom-control-input" value = "0"><span class="custom-control-label">Disabled</span>
                            </label>
                        </div>
                        <div class="mb-3">
                            <p class="tiny">Tags</p>
                            <div class="d-flex align-items-center spesial position-relative">
                                <input class="form-control spesial input-tags2" type="text" id="input-tags2" value="" readonly="" style="background-color: inherit;">
                                    <button class="btn show-tags" type="button" style="color: #212529;font-size: 14px;">
                                        <i class="fas fa-chevron-down"></i>
                                    </button>
                                <div id="tag-list2" class="position-absolute w-100 p-3 card" style="top: 38px;background-color: white;display: none;">
                                    <div class="d-flex mb-2">
                                        <input class="form-control me-3" type="search" placeholder="Cari tag">
                                        <button class="btn btn-primary" type="button">
                                            <i class="fas fa-search"></i>
                                        </button></div>
                                    <div class="row" style="max-height: 200px;overflow-y: auto;">
                                        <input type="hidden" name="tags" id="tag2" value="">
                                        @foreach ($tag as $item)
                                            <div class="col-4 mb-1">
                                                <div class="form-check"><input class="form-check-input" type="checkbox" id="tag-{{ $item->id }}" value="{{ $item->name }}">
                                                    <label class="form-check-label"for="tag-{{ $item->id }}">{{ $item->name }}</label>
                                                </div>
                                            </div>
                                        @endforeach
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="submit" class="btn btn-primary">Save</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
Leave a Comment