Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/assets/vue/views/glossary/GlossaryTermCreate.vue

29 lines
721 B

<template>
<LayoutFormGeneric>
<template #header>
<BaseIcon icon="plus" />
{{ t("Add new glossary term") }}
</template>
<GlossaryForm @back-pressed="goBack" />
</LayoutFormGeneric>
</template>
<script setup>
import GlossaryForm from "../../components/glossary/GlossaryForm.vue"
import { useRoute, useRouter } from "vue-router"
import BaseIcon from "../../components/basecomponents/BaseIcon.vue"
import { useI18n } from "vue-i18n"
import LayoutFormGeneric from "../../components/layout/LayoutFormGeneric.vue"
const router = useRouter()
const route = useRoute()
const { t } = useI18n()
const goBack = () => {
router.push({
name: "GlossaryList",
query: route.query,
})
}
</script>