      <td><a href="users/{{$user->id}}/edit" class="btn btn-warning">EDIT</a>
          {!!Form::open(['action' => ['UsersController@destroy', $user->id], 'class' => 'btn', 'method' => 'POST', 'onsubmit' => 'return confirm("Sunteti sigur ca vreti sa stergeti acest profesor din baza de date?")'])!!}
              {{Form::hidden('_method', 'DELETE')}}
              {{Form::bsSubmit('Sterge profesor', ['class' => 'btn btn-danger'])}}
          {!!Form::close()!!}
      </td>
    </tr>

    @endforeach

@endif