Route not working. how can I write an anchor tag, based on some condition? if the condition is true then the anchor tag will be printed with the route, I write the below code But I get an error.
In my blade template
@php
if(SOMECONDATION){
echo '<a href="">Approve</a>';
}
@endphp
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire