With how my template is set up I’m attempting to put a span tag inside of a form label for my Codeigniter login form.
I know I’m doing this wrong but not sure on my fix and hoping someone could clue me in. When I have this rendered it gives me an array to string conversion error.
$attributes = array('class' => 'span12', 'id' => 'username');
echo form_input('<span class="icon16 icomoon-icon-user-3 right gray marginR10"></span>username', '', $attributes);
Keep it simple like: