Merge pull request #15410 from herbdool/cloud-21
[civicrm-core.git] / templates / CRM / Core / DatePickerRange.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9 *}
10 {*this is included inside a table row*}
11 {assign var=relativeName value=$fieldName|cat:"_relative"}
12 {assign var='from' value=$from|default:'_low'}
13 {assign var='to' value=$to|default:'_high'}
14
15 {if !$hideRelativeLabel}
16 {$form.$relativeName.label}<br />
17 {/if}
18 {$form.$relativeName.html}<br />
19 <span class="crm-absolute-date-range">
20 <span class="crm-absolute-date-from">
21 {assign var=fromName value=$fieldName|cat:$from}
22 {$form.$fromName.label}
23 {$form.$fromName.html}
24 </span>
25 <span class="crm-absolute-date-to">
26 {assign var=toName value=$fieldName|cat:$to}
27 {$form.$toName.label}
28 {$form.$toName.html}
29 </span>
30 </span>
31 {include file="CRM/Core/DatePickerRangejs.tpl" relativeName=$relativeName}
32