Add student entry component
This commit is contained in:
parent
80b46a4781
commit
fa26609c49
|
|
@ -12,6 +12,7 @@
|
||||||
import TextBlock from '@/components/TextBlock.vue';
|
import TextBlock from '@/components/TextBlock.vue';
|
||||||
import Task from '@/components/Task.vue';
|
import Task from '@/components/Task.vue';
|
||||||
import ImageBlock from '@/components/ImageBlock.vue';
|
import ImageBlock from '@/components/ImageBlock.vue';
|
||||||
|
import StudentEntry from '@/components/StudentEntry.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: ['contentBlock'],
|
props: ['contentBlock'],
|
||||||
|
|
@ -19,7 +20,8 @@
|
||||||
components: {
|
components: {
|
||||||
'text_block': TextBlock,
|
'text_block': TextBlock,
|
||||||
Task,
|
Task,
|
||||||
'image_block': ImageBlock
|
'image_block': ImageBlock,
|
||||||
|
'student_entry': StudentEntry
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
<template>
|
||||||
|
<p v-html="value.task_text"></p>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: ['value']
|
||||||
|
}
|
||||||
|
</script>
|
||||||
Loading…
Reference in New Issue