CRM-16328: Add pre and post classes for help text
authorJKingsnorth <john@johnkingsnorth.co.uk>
Tue, 21 Apr 2015 13:50:13 +0000 (14:50 +0100)
committerJKingsnorth <john@johnkingsnorth.co.uk>
Tue, 21 Apr 2015 13:50:13 +0000 (14:50 +0100)
templates/CRM/Profile/Form/Dynamic.tpl
templates/CRM/UF/Form/Block.tpl

index 6a04f5191c386ddc1c6b5b495a5cafcb16e81426..1ee050ecbddeb19b95fe79da2c5205c4b3f7e7c3 100644 (file)
         <div class="form-layout-compressed">
         {/if}
         {if $field.help_pre && $action neq 4 && $form.$n.html}
-          <div class="crm-section helprow-{$n}-section" id="helprow-{$n}">
+          <div class="crm-section helprow-{$n}-section helprow-pre" id="helprow-{$n}">
             <div class="content description">{$field.help_pre}</div>
           </div>
         {/if}
 
       {* Show explanatory text for field if not in 'view' mode *}
         {if $field.help_post && $action neq 4 && $form.$n.html}
-          <div class="crm-section helprow-{$n}-section" id="helprow-{$n}">
+          <div class="crm-section helprow-{$n}-section helprow-post" id="helprow-{$n}">
             <div class="content description">{$field.help_post}</div>
           </div>
         {/if}
index b18c2d5f33b81892140239547d3d2c1026c74f46..85f4d8d60a97194445b90f1952337466903a449d 100644 (file)
@@ -66,7 +66,7 @@
       {elseif $n}
         {* Show explanatory text for field if not in 'view' or 'preview' modes *}
         {if $field.help_pre && $action neq 4 && $action neq 1028}
-          <div class="crm-section helprow-{$n}-section" id="helprow-{$n}">
+          <div class="crm-section helprow-{$n}-section helprow-pre" id="helprow-{$n}">
             <div class="content description">{$field.help_pre}</div>
           </div>
         {/if}
         {/if}
         {* Show explanatory text for field if not in 'view' or 'preview' modes *}
         {if $field.help_post && $action neq 4 && $action neq 1028}
-          <div class="crm-section helprow-{$n}-section" id="helprow-{$n}">
+          <div class="crm-section helprow-{$n}-section helprow-post" id="helprow-{$n}">
             <div class="content description">{$field.help_post}</div>
           </div>
         {/if}