2020-09-16 09:09:43 +00:00
|
|
|
<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>
|
2020-12-16 00:09:58 +00:00
|
|
|
<hr class="gl-mt-0" />
|
2020-09-16 09:09:43 +00:00
|
|
|
<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>
|