summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/poll-editor.vue14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/client/app/common/views/components/poll-editor.vue b/src/client/app/common/views/components/poll-editor.vue
index f7a4d3af8c..49940134c7 100644
--- a/src/client/app/common/views/components/poll-editor.vue
+++ b/src/client/app/common/views/components/poll-editor.vue
@@ -26,13 +26,19 @@
<option value="after">{{ $t('after') }}</option>
</ui-select>
<section v-if="expiration === 'at'">
- <ui-input v-model="atDate" type="date">{{ $t('deadline-date') }}</ui-input>
- <ui-input v-model="atTime" type="time">{{ $t('deadline-time') }}</ui-input>
+ <ui-input v-model="atDate" type="date">
+ <template #title>{{ $t('deadline-date') }}</template>
+ </ui-input>
+ <ui-input v-model="atTime" type="time">
+ <template #title>{{ $t('deadline-time') }}</template>
+ </ui-input>
</section>
<section v-if="expiration === 'after'">
- <ui-input v-model="after" type="number">{{ $t('interval') }}</ui-input>
+ <ui-input v-model="after" type="number">
+ <template #title>{{ $t('interval') }}</template>
+ </ui-input>
<ui-select v-model="unit">
- <template #label>{{ $t('unit') }}</template>
+ <template #title>{{ $t('unit') }}</template>
<option value="second">{{ $t('second') }}</option>
<option value="minute">{{ $t('minute') }}</option>
<option value="hour">{{ $t('hour') }}</option>