Assalamu Alaikum
mohon bantuannya
saya kesulitan supaya form action bisa menampilkan apa yang dicari !?
bagaimana menambahkan fungsi cari di controller dan modelnya ??
ini view listnya
<!-- Content -->
<div class="content clearfix">
<section class="section-block featured-media tm-slider-parallax-container">
<div class="tm-slider-container full-width-slider" data-featured-slider data-progress-bar="false" data-parallax data-parallax-fade-out data-auto-advance data-animation="slide" data-scale-under="960">
<ul class="tms-slides">
<li class="tms-slide" data-video data-video-bkg data-overlay-bkg-color="#000000" data-overlay-bkg-opacity="0.4">
<div class="tms-content">
<div class="tms-content-inner center left-on-mobile v-align-middle">
<div class="row">
<div class="column width-12">
<h1 class="inline no-margin-bottom"><?php echo $title ?></h1>
</div>
</div>
</div>
</div>
<img data-src="<?php echo base_url() ?>asset/uploads/image/berita/beritasemua.jpg" data-retina src="#" alt="#"/>
</li>
</ul>
</div>
</section>
<!-- Intro Title Section 2 End -->
<div class="section-block clearfix no-padding-bottom">
<div class="row">
<!-- Content Inner -->
<div class="column width-9 push-3 content-inner blog-regular">
<article class="post">
<?php foreach ($berita as $berita) { ?>
<div class="post-media">
<div class="thumbnail img-scale-in" data-hover-easing="easeInOut" data-hover-speed="700" data-hover-bkg-color="#ffffff" data-hover-bkg-opacity="0.9">
<a class="overlay-link" href="<?php echo base_url('berita/read/'.$berita->slug_berita) ?>">
<img src="<?php echo base_url('asset/uploads/image/'.$berita->gambar) ?>" alt="">
<span class="overlay-info">
<span>
<span>
+
</span>
</span>
</span>
</a>
</div>
</div>
<div class="post-content">
<h2 class="post-title"><a href="<?php echo base_url('berita/read/'.$berita->slug_berita) ?>"><?php echo $berita->judul_berita ?></a></h2>
<div class="post-info">
<span class="post-date"><?php echo $berita->tanggal_post ?></span>/<span class="post-categories"><?php echo $berita->nama_kategori_berita ?></span>/ by<span class="post-info"><?php echo $berita->username ?></span>
</div>
<p><?php echo character_limiter(strip_tags($berita->isi),100) ?></p>
<p class="card-text"><a href="<?php echo base_url('berita/read/'.$berita->slug_berita) ?>"><i class="btn btn-primary btn-sm"></i> lanjutan ...</a></p>
</div>
<?php } ?>
<div class="clearfix"></div>
</article>
</div>
<!-- Content Inner End
// <! -- Sidebar -->
<aside class="column width-3 pull-9 sidebar left">
<div class="sidebar-inner">
<div class="widget">
<h3 class="widget-title">Cari</h3>
<div class="search-form-container site-search">
<form action="#" method="get" novalidate>
<div class="row">
<div class="column width-12">
<div class="field-wrapper">
<input type="text" name="search" class="form-search form-element" placeholder="type & hit enter...">
<span class="border"></span>
</div>
</div>
</div>
</form>
<div class="form-response"></div>
</div>
</div>
<div class="widget">
</div>
<div class="widget">
<h3 class="widget-title">Berita sebelumnya</h3>
<ul class="list-group">
<li>
<span class="post-info">
<span class="post-date"><?php echo $berita->tanggal_post ?></span></span>
<h2 class="post-title"><a href="<?php echo base_url('berita/read/'.$berita->slug_berita) ?>"><?php echo $berita->judul_berita ?></a></h2>
</li>
</ul>
</div>
</div>
</div>
</aside>
<!-- Pagination Section 5 -->
<?php if(isset($paginasi)) { echo $paginasi; } ?>
<div class="section-block pagination-3">
<div class="row">
<div class="column width-9 push-3">
<ul>
<li><a class="pagination-previous icon-left-open" href="#"><span class="icon-left-open-mini"></span></a></li>
<li><a class="current" href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a class="pagination-next disabled" href="#"><span class="icon-right-open-mini"></span></a></li>
</ul>
</div>
</div>
</div>
<!-- Pagination Section 5 End -->
</div>
<!-- Content End -->