From 455b3ea4f55ba244ce22e7be6cd2706857459782 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 15 Mar 2014 22:21:44 -0400 Subject: [PATCH] Update add-group select --- CRM/Contact/Form/GroupContact.php | 2 +- templates/CRM/Contact/Form/GroupContact.tpl | 2 +- templates/CRM/Contact/Page/View/GroupContact.tpl | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CRM/Contact/Form/GroupContact.php b/CRM/Contact/Form/GroupContact.php index 7f0bdf0cd4..0ea4c90256 100644 --- a/CRM/Contact/Form/GroupContact.php +++ b/CRM/Contact/Form/GroupContact.php @@ -102,7 +102,7 @@ class CRM_Contact_Form_GroupContact extends CRM_Core_Form { $msg = ts('Add to a group'); } - $this->add('select', 'group_id', $msg, $groupSelect, TRUE, array('class' => 'crm-select2')); + $this->add('select', 'group_id', '', $groupSelect, TRUE, array('class' => 'crm-select2 crm-action-menu', 'placeholder' => $msg)); $this->addButtons(array( array( diff --git a/templates/CRM/Contact/Form/GroupContact.tpl b/templates/CRM/Contact/Form/GroupContact.tpl index 87d3ae921d..86daeca146 100644 --- a/templates/CRM/Contact/Form/GroupContact.tpl +++ b/templates/CRM/Contact/Form/GroupContact.tpl @@ -26,6 +26,6 @@ {* this template is used for adding a contact to a group (from view context) *}
- {$form.group_id.label}   {$form.group_id.html} {$form.buttons.html} + {$form.group_id.html} {$form.buttons.html} {include file="CRM/Form/validate.tpl"}
diff --git a/templates/CRM/Contact/Page/View/GroupContact.tpl b/templates/CRM/Contact/Page/View/GroupContact.tpl index 3b0221a759..3d94b8a325 100644 --- a/templates/CRM/Contact/Page/View/GroupContact.tpl +++ b/templates/CRM/Contact/Page/View/GroupContact.tpl @@ -63,9 +63,9 @@ {$row.in_date|crmDate} {if $permission EQ 'edit'} - + {ts}Remove{/ts} - + {ts}Delete{/ts} {/if} @@ -116,9 +116,9 @@ {$row.pending_date|crmDate} {if $permission EQ 'edit'} - + {ts}Remove{/ts} - + {ts}Delete{/ts} {/if} @@ -154,9 +154,9 @@ {$row.date_added|crmDate} {$row.out_date|crmDate} {if $permission EQ 'edit'} - + {ts}Rejoin Group{/ts} - + {ts}Delete{/ts}{/if} -- 2.25.1