1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<script>
import IssuableForm from './issuable_form.vue';
export default {
components: {
IssuableForm,
},
props: {
descriptionPreviewPath: {
type: String,
required: true,
},
descriptionHelpPath: {
type: String,
required: true,
},
labelsFetchPath: {
type: String,
required: true,
},
labelsManagePath: {
type: String,
required: true,
},
},
};
</script>
<template>
<div class="issuable-create-container">
<slot name="title"></slot>
<hr class="gl-mt-0" />
<issuable-form
:description-preview-path="descriptionPreviewPath"
:description-help-path="descriptionHelpPath"
:labels-fetch-path="labelsFetchPath"
:labels-manage-path="labelsManagePath"
>
<template #actions="issuableMeta">
<slot name="actions" v-bind="issuableMeta"></slot>
</template>
</issuable-form>
</div>
</template>
|