Align layout of formPassword with the other field layout
--------------------------------------------------------

                 Key: MGNLFORM-122
                 URL: http://jira.magnolia-cms.com/browse/MGNLFORM-122
             Project: Magnolia Form Module
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Samuel Schmitt
            Assignee: Tobias Mattsson
             Fix For: 1.4.x


The output HTML of formPassword.ftl differs form the other fields. It's really 
annoying when you design the form, you need to create a special CSS for the 
password or extends it and provide a better ftl.

The problem is that the <label> wraps the span AND the input which is not the 
case for the other fields.

Output of the password field:
{code}
        <label id="dsd_label" class="" for="dsd">
            <span>
            Password
            </span>
        <input name="dsd" id="dsd" value="" type="password">
      </label>
{code}

Output of another field:
{code}
        <label for="email">
            <span>
            Your Email
                <dfn title="required">*</dfn>
            </span>
        </label>
        <input name="email" id="email" value="" maxlength="50" type="text">

{code}



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to