Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-06-25-23-42-42
[civicrm-core.git] / templates / CRM / Custom / Form / Preview.tpl
index 5aff212dcf2b79492203aace6f4a3dd8a72bfae2..4128b121bedb3bf02523660594c1bdd906fd57b7 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
                             {/if}
                          {/if}
                     {/foreach}
-        {if $element.html_type eq 'Radio'}
-                 <tr>
-                 <td><span class="crm-clear-link">(<a href="#" title="unselect" onclick="unselectRadio('{$element_name}', '{$form.formName}'); return false;" >{ts}clear{/ts}</a>)</span></td>
-               {/if}
                  </tr>
                 </table>
          </td>
         {elseif $element.skip_calendar NEQ true }
             {include file="CRM/common/jcalendar.tpl" elementName=$element_name}
         {/if}
-      {if $element.html_type eq 'Radio'}
-        <span class="crm-clear-link">(<a href="#" title="unselect" onclick="unselectRadio('{$element_name}', '{$form.formName}'); return false;" >{ts}clear{/ts}</a>)</span>
-      {elseif $element.html_type eq 'Autocomplete-Select'}
+      {if $element.html_type eq 'Autocomplete-Select'}
           {if $element.data_type eq 'ContactReference'}
                   {include file="CRM/Custom/Form/ContactReference.tpl"}
-                {else}
-            {include file="CRM/Custom/Form/AutoComplete.tpl"}
                 {/if}
         {/if}
           </td>