    @if( !empty($data) )
      <thead>
         <tr>
            @foreach($data as $th)

                @if( @$th['secure'] === false)
                     <th> {!! $th['name'] !!} </th>
                @else
                    <th> {{ $th['name'] }} </th>
                @endif

            @endforeach
         </tr>
      </thead>
      @endif
