@forelse ($locations as $location)
        						
<tr id="row{{ $location->id }}">	
    <td>{{ $location->room_name }}</td>

    <td>
        <form id="{{ $location->id}}" action="inventory-control/freeze-unfreeze-location" method="POST">            
            <input type="hidden" name="_token" value="{{ csrf_token() }}">
            <input type="hidden" name="locationId" value="{{$location->id}}">
            <input type="hidden" name="id" value="1">
            <a href="javascript:void(0)" class="unfreeze" data-id="{{ $location->id }}" title="Unfreeze"><i class="icon icon-hide"></i></a>
        </form>
    </td>
<tr>

@empty

<tr id="no-location-found">	
    <td colspan="2" style="text-align: center;">No location found</td>
<tr>

@endforelse