mardi 28 juillet 2020

show the section based on page

I have created filter section with filter.blade.php.I have 5 selectbox in that page.I want to display only four in page1 and 5 selectbox section in page2.

In web.php

Route::get('/page1',array('middleware'=>'checksession',function(){return View('layouts.page1');}));
Route::get('/page2',array('middleware'=>'checksession',function(){return View('layouts.page2');}));

I want to display below selectbox only in page2

<div class="col-md-12">
       <!-- Card header -->
        <div class="card-header" role="tab" id="headingFive5">
            <a class="collapsed" data-toggle="collapse" data-parent="#accordionEx" href="#collapseFive5"
            aria-expanded="false" aria-controls="collapseFive5">
                <h5 class="mb-0">
                    <div id="username_view">Username</div> 
                    <img src="img/chevron-down.png" class="fa-angle-down rotate-icon">
                </h5>
            </a>
        </div>


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire