Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 17:30:29 +01:00
34 Zeilen
630 B
Handlebars
34 Zeilen
630 B
Handlebars
{{#unless timeFirst}}
|
|
{{custom-wizard-date-input
|
|
date=date
|
|
relativeDate=relativeDate
|
|
onChange=(action "onChangeDate")
|
|
tabindex=dateTabindex
|
|
}}
|
|
{{/unless}}
|
|
|
|
{{#if showTime}}
|
|
{{custom-wizard-time-input
|
|
date=date
|
|
relativeDate=relativeDate
|
|
onChange=(action "onChangeTime")
|
|
tabindex=timeTabindex
|
|
}}
|
|
{{/if}}
|
|
|
|
{{#if timeFirst}}
|
|
{{custom-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}}
|