I have a following problem. I am checking if arrays are empty and if they are i am hiding specific elements in table. This implementation adds only 1 class but is there a way to add multiple without using javascript?
<table @if(empty($a)) class="hide_a"@endif
@if(empty($aa)) class="hide_aa"@endif
@if(empty($aaa)) class="hide_aaa"@endif>