I want to disable input if the value transferred from the controller is false. I read the blade template documentation for Laravel, but couldn't find any useful resource.
I tried the following code, but it yields an error.
<input type="text" name="url" style="height:36px;" value="http://ift.tt/2opZxZm}}" @if $isEditable enabled @endif /> <br/>
The exact code part is,
@if $isEditable enabled @endif
If you can provide any suggestion, it would be very helpful.
Thanks!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire