Add a form to the list output of a view
You probably can do this with just a Global custom text field and some hidden view fields.

E.g.:


Add car id to the view but exclude from view. 
Move this to the top of the list. 
Add a global custom text field for your Favorite button using the replacement values.  Could be something like:

&lt;a class="btn btn-success" href="/add/favorite/{{ carId }}?destination=/view/cars"&gt;Add as Favorite&lt;/a&gt;


Notes: 

Classes are bootstrap specific.

Href is the code to set the favorite.

Destination string is Drupal way to circle back to view.