<div class="modal fade" id="filterselectmodal" tabindex="-1" role="dialog" aria-labelledby="Select filter">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-head">
		<h4 class="modal-title" id="filterModalTitle"><i class="fa fa-coffee"></i> Filter</h4>
		<span>When entering a tag you will no longer see videos with that tag.</span>
            </div>
            <div class="modal-body">
                <input id="filter" type="text" class="form-control" placeholder="Input tags…" name="filter" data-role="tagsinput" value="{{ implode(',', auth()->user()->categories) }}">
                {{--<input class="form-control" type="text" id="filter" data-role="tagsinput" value="{{ implode(',', auth()->user()->categories) }}">--}}
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
                <button href="/filter" type="submit" id="submitfilter" class="btn btn-dark" value="Save">Save</button>
            </div>
        </div>
    </div>
</div>
