Fix wording and add create button on opening view

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2020-04-24 14:46:49 +02:00 committed by Jonas Rittershofer
parent d4e2d51ede
commit 54c277e687

View file

@ -46,7 +46,12 @@
</EmptyContent>
<EmptyContent v-else>
{{ t('forms', 'Please select a form') }}
{{ t('forms', 'Select a form or create a new one') }}
<template #desc>
<button class="primary" @click="onNewForm">
{{ t('forms', 'Create new form') }}
</button>
</template>
</EmptyContent>
</AppContent>