<div>
    <table class="table table-bordered">
        <thead>
            <tr>
                <th style="min-width: 250px;">Indicador</th>
                @foreach($months as $month)
                <th>{{ $month }}</th>
                @endforeach
            </tr>
        </thead>
        <tbody>
            @foreach($indicators as $indicator)
            <tr>
                <th>{{ $indicator['indicator']->name }} ({{ $indicator['indicator']->unit->symbol ?? null }})</th>
                @foreach($months as $month => $monthName)
                <td>
                    <input class="form-control txt_indicator_entry" type="text"  data-indicator="{{ $indicator['indicator']->indicator_id }}" data-month="{{ $month }}"" value="{{$indicator['months'][$month]->value ?? null}}" />
                </td>
                @endforeach
            </tr>
            @endforeach
        </tbody>
    </table>
</div>