<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<div class="jumbotron kb-search-jumbotron">
    <div class="kb-search">
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-md-offset-2">
                    <div class="text-center">
                        <h2 class="mbot30 kb-search-heading tw-font-semibold">
                            <?= _l('kb_search_articles'); ?>
                        </h2>
                        <?= form_open(site_url('knowledge-base/search'), ['method' => 'GET', 'id' => 'kb-search-form']); ?>
                        <div class="form-group has-feedback has-feedback-left">
                            <div class="input-group">
                                <input type="search" name="q"
                                    placeholder="<?= _l('have_a_question'); ?>"
                                    class="form-control kb-search-input"
                                    value="<?= e($this->input->get('q', false)); ?>">
                                <span class="input-group-btn">
                                    <button type="submit"
                                        class="btn btn-primary kb-search-button"><?= _l('kb_search'); ?></button>
                                </span>
                                <i class="fa-solid fa-magnifying-glass form-control-feedback kb-search-icon"></i>
                            </div>
                        </div>
                        <?= form_close(); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>