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/links/LinksCreate.vue

29 lines
696 B

<template>
<LayoutFormGeneric>
<template #header>
<BaseIcon icon="link-add" />
{{ t("Add a link") }}
</template>
<LinkForm @back-pressed="goBack" />
</LayoutFormGeneric>
</template>
<script setup>
import LinkForm from "../../components/links/LinkForm.vue"
import { useRoute, useRouter } from "vue-router"
import { useI18n } from "vue-i18n"
import BaseIcon from "../../components/basecomponents/BaseIcon.vue"
import LayoutFormGeneric from "../../components/layout/LayoutFormGeneric.vue"
const { t } = useI18n()
const router = useRouter()
const route = useRoute()
const goBack = () => {
router.push({
name: "LinksList",
query: route.query,
})
}
</script>