<li role="presentation" class="nav-item"> <a class="nav-link{{ $active_tab == $tab_name ? ' active' : '' }}" href="#{{ $tab_name }}-tab" aria-controls="{{ $tab_name }}-tab" role="tab" data-toggle="tab"> <i class="fa fa-fw fa-{{ $tab_icon }}"></i> <span class="d-none d-md-inline">{{ $tab_text }}</span> </a> </li>