Just wondering if there is a solution here.. When I use the Form::label helper and add some HTML in the content in the example below: <?php echo Form::label('Enter List of Companies Worked before <small style="color: red;">required</small>'); ?> the content does not appear properly. My end result ends up looking something like this: required">Enter List Of Companies Worked Before <small Style="color: Red;">required</small>
Is there a solution to this? I could change everything to use the HTML way to display my labels but it would be a shame not to use the function that Laravel has provided.
Any ideas?
<?php echo HTML::decode(Form::label('Enter List of Companies Worked before <small style="color: red;">required</small>')); ?>
This seems to have done the trick... Thanks.. :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community