Closed (duplicate)
Project:
Bootstrap
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2012 at 20:34 UTC
Updated:
14 Oct 2013 at 17:31 UTC
I'm trying to customize the login page with an input-prepend and an add-on (see attached), but I can't seem to get the following code to wrap directly around the input field because it's getting wrapped automatically by the control group/controls wrappers before processing my form alters.
<div class="input-prepend"><span class="add-on"><i class="icon-user icon-large"></i></span>
<input...>
</div>
Is there a way to alter the input field before the control group/controls wrappers fire?
| Comment | File | Size | Author |
|---|---|---|---|
| user_login.png | 4.36 KB | kruser |
Comments
Comment #1
walidvb commentedFound this, in case anyone is still looking:
http://www.hbensalem.com/php/drupal-7-and-bootstrap-3-theming-the-login-...
Comment #2
markhalliwellThis was fixed in the 3.x branch. Dup of #2099113: Fix markup for ['#field_prefix'] / ['#field_suffix']