Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19891

Installment text often looks different then contribution text due to inconsistent use of label tag

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.15
    • Fix Version/s: None
    • Component/s: CiviContribute
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      Yes

      Description

      Due to the way frequency intervals are dynamically added to the contribution page, we often get the text: "I will contribute this amount" wrapped in a label tag and the following text "every month" not wrapped in a label tag. This inconsistency often creates a visual difference which could be fixed using a CSS work-around... but since both parts of the text are in fact labels, it is more elegant to fix it in the code.

      Here's the HTML snippet:

      <input id="is_recur" name="is_recur" value="1" class="crm-form-checkbox" type="checkbox"> <label for="is_recur">I want to contribute this amount</label> every month
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: