blob: 22728f580261e2bfa4c6b8e4cbafdcee141e7004 (
plain)
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
|
<script>
import { GlForm, GlFormInput, GlButton } from '@gitlab/ui';
export default {
components: {
GlForm,
GlFormInput,
GlButton,
},
data() {
return {
relatedWorkItem: '',
};
},
};
</script>
<template>
<gl-form @submit.prevent>
<gl-form-input v-model="relatedWorkItem" class="gl-mb-4" />
<gl-button type="submit" category="secondary" variant="confirm">
{{ s__('WorkItem|Add') }}
</gl-button>
<gl-button category="tertiary" class="gl-float-right" @click="$emit('cancel')">
{{ s__('WorkItem|Cancel') }}
</gl-button>
</gl-form>
</template>
|