mardi 20 mars 2018

How to apply style-sheet only to a particular select box in form in laravel?

I have developed a bootstrap form in which i want to apply StyleSheet Link to a particular Select Box in that form.

    @if(select)
     {  
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.3/css/bootstrap-select.min.css" />
    }
    @endif

    <form>
    <select class="form-control selectpicker" data-show-subtext="true" data-live-search="true" id="complaintSource">
     <option>1</option>
     <option>2</option>
     </select>
    </form>

I want to apply Style Sheet to this particular Select Box In Laravel Because It is applying to all form.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2psPST9
via IFTTT

Aucun commentaire:

Enregistrer un commentaire