<table class="table table-striped">
  <thead>
    <tr>
      <th>#</th>
      <th>Name</th>
      <th>Actions</th>
    </tr>
  </thead>
  <tbody>
    @foreach($units as $unit)
      <tr>
        <td>{{ $unit->id }}</td>
        <td>{{ $unit->name }}</td>
        <td>
          {{ link_to_route('units.edit', Trans("dashboard.crud.edit"), $unit->id, ['class' => 'btn btn-xs btn-info']) }}
      </tr>
    @endforeach

  </tbody>
</table>
