Fix warning

This commit is contained in:
Stanislav Romanov 2022-08-30 11:14:19 +03:00
parent a014759ce5
commit 033920d0cc

View file

@ -1,6 +1,6 @@
<div class="mb-4">
{{#if @label}}
<label for={{this.id}} class="block font-medium mb-1 text-dark {{if @required "after:content-['*'] after:text-red-500"}}">
<label for={{@for}} class="block font-medium mb-1 text-dark {{if @required "after:content-['*'] after:text-red-500"}}">
{{~ capitalize @label ~}}
</label>
{{/if}}