I am trying to create an image route, meaning, using an image for a route. This is the update link I'm trying to create but it keeps giving this error:
FatalErrorException in fdda73edfe1d1362826e9383e141e71a line 52:
syntax error, unexpected 'height' (T_STRING)
Maybe the formatting of css is what it does not understand. This is the code:
{!! Html::linkRoute('updateUserContact', '<img style='height: 100%; width: 100%; object-fit: contain' src="' . asset('images/add.png') . '"/>', contacts->id) !!}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire