Auto renew text appears at top of membership edit form
Overview
A line of text appears at the top of the membership edit form when editing an auto-renewing membership:
For auto-renewing memberships the emails are sent when each payment is received
This text should appear lower down next to the 'Send Confirmation and Receipt?' text box. It appears that the HTML is incorrectly nested which is why the browser places this text out of the normal flow.
Reproduction steps
- View a contact with an auto-renewing membership.
- Click on the membership tab.
- Click to edit that membership.
Current behaviour
See the line of text at the top of this form:
Expected behaviour
This text should appear lower down next to the 'Send Confirmation and Receipt?' text box.
Environment information
- Browser: Firefox 71.0/Chrome 79.0.3945.88
- CiviCRM: 4.7-Master
- PHP: 7.2.23
- CMS: Drupal 7.68
- Database: N/A
- Web Server: N/A
Comments
This text was introduced in a PR from @eileen on 2 Dec 2015: https://github.com/civicrm/civicrm-core/pull/7335/files
Here is the related issue in JIRA: https://issues.civicrm.org/jira/browse/CRM-17635