Uploaded image for project: 'Magnolia Form Module'
  1. Magnolia Form Module
  2. MGNLFORM-122

Align layout of formPassword with the other field layout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.4.2
    • 1.4.1
    • None
    • None

    Description

      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:

              <label id="dsd_label" class="" for="dsd">
                  <span>
                  Password
                  </span>
              <input name="dsd" id="dsd" value="" type="password">
            </label>
      

      Output of another field:

              <label for="email">
                  <span>
                  Your Email
                      <dfn title="required">*</dfn>
                  </span>
              </label>
              <input name="email" id="email" value="" maxlength="50" type="text">
      
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdivilek Milan Divilek
              sschmitt Samuel Schmitt
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD