Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 13:52:54 +01:00
35 Zeilen
609 B
Handlebars
35 Zeilen
609 B
Handlebars
|
{{#unless timeFirst}}
|
||
|
{{wizard-date-input
|
||
|
date=date
|
||
|
relativeDate=relativeDate
|
||
|
onChange=(action "onChangeDate")
|
||
|
tabindex=dateTabindex
|
||
|
}}
|
||
|
{{/unless}}
|
||
|
|
||
|
{{#if showTime}}
|
||
|
{{wizard-time-input
|
||
|
date=date
|
||
|
relativeDate=relativeDate
|
||
|
onChange=(action "onChangeTime")
|
||
|
tabindex=timeTabindex
|
||
|
}}
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if timeFirst}}
|
||
|
{{wizard-date-input
|
||
|
date=date
|
||
|
relativeDate=relativeDate
|
||
|
onChange=(action "onChangeDate")
|
||
|
tabindex=dateTabindex
|
||
|
}}
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if clearable}}
|
||
|
{{d-button
|
||
|
class="clear-date-time"
|
||
|
icon="times"
|
||
|
action=(action "onClear")
|
||
|
}}
|
||
|
{{/if}}
|