Open odiszapc opened 4 years ago
Could you please help me with using Blade @error directive inside html attributes. This works:
<input class="@error('name') is-danger @enderror"/>
But in HAML notation it doesn't:
%input{:class` => '@error("name") is-danger @enderror'}
The rendered HTML looks like:
What I'm doing wrong? Thanks!
Could you please help me with using Blade @error directive inside html attributes. This works:
But in HAML notation it doesn't:
The rendered HTML looks like:
What I'm doing wrong? Thanks!