From: Coleman Watts Date: Mon, 9 Mar 2015 15:39:54 +0000 (-0400) Subject: CRM-15976 - Show relationship selector on newline to avoid pushing elements off screen X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=aae123badb888156174148bdf05e986322d78f09;p=civicrm-core.git CRM-15976 - Show relationship selector on newline to avoid pushing elements off screen --- diff --git a/CRM/Contact/Form/Search/Criteria.php b/CRM/Contact/Form/Search/Criteria.php index 4921ddbd8a..995b415892 100644 --- a/CRM/Contact/Form/Search/Criteria.php +++ b/CRM/Contact/Form/Search/Criteria.php @@ -219,7 +219,8 @@ class CRM_Contact_Form_Search_Criteria { $form->addElement('select', 'display_relationship_type', ts('Display Results as Relationship'), - $rSelect + $rSelect, + array('class' => 'crm-select2') ); // checkboxes for DO NOT phone, email, mail diff --git a/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl b/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl index c253b45a0d..b05e66a85b 100644 --- a/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl +++ b/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl @@ -61,7 +61,7 @@
{$form.component_mode.html} {if $form.display_relationship_type} - {$form.display_relationship_type.html} +
{$form.display_relationship_type.html}
{/if} {else}