CRM-15976 - Force top submit buttons to align right
authorColeman Watts <coleman@civicrm.org>
Mon, 9 Mar 2015 15:27:05 +0000 (11:27 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 9 Mar 2015 15:27:05 +0000 (11:27 -0400)
templates/CRM/Contact/Form/Search/Criteria/Basic.tpl

index 6faf87ee919620019eea23fb7ade95418667a2fe..c253b45a0d0768d62f51e8c1aeca763f6b610aac 100644 (file)
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
+{literal}
+<style type="text/css">
+  .adv-search-top-submit span.crm-button {
+    float: right !important;
+  }
+</style>
+{/literal}
 <table class="form-layout">
   <tr>
     <td><label>{ts}Complete OR Partial Name{/ts}</label><br />
       <label>{ts}Complete OR Partial Email{/ts}</label><br />
       {$form.email.html}
     </td>
-    <td class="labels" rowspan="2">
+    <td class="adv-search-top-submit" colspan="2">
       <div class="crm-submit-buttons">
         {include file="CRM/common/formButtons.tpl" location="top"}
       </div>
       <div class="crm-submit-buttons reset-advanced-search">
-        <a href="{crmURL p='civicrm/contact/search/advanced' q='reset=1'}" id="resetAdvancedSearch" class="crm-hover-button" title="{ts}Clear all search criteria{/ts}">
+        <a href="{crmURL p='civicrm/contact/search/advanced' q='reset=1'}" id="resetAdvancedSearch" class="crm-hover-button css_right" title="{ts}Clear all search criteria{/ts}">
           <span class="icon ui-icon-circle-close"></span>
           {ts}Reset Form{/ts}
         </a>