-
-
Notifications
You must be signed in to change notification settings - Fork 163
/
Copy pathAttributionDetailsStep.vue
44 lines (42 loc) · 1.2 KB
/
AttributionDetailsStep.vue
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
<template>
<form class="attribution-details-form">
<b-field label="Work Author" label-position="inside">
<b-input
v-model="value.creatorName"
placeholder="John Silver"
/>
</b-field>
<b-field label="URL of Creator Profile" label-position="inside">
<b-input
v-model="value.creatorProfileUrl"
placeholder="Creator's blog/ twitter profile/ instagram profile etc"
/>
</b-field>
<b-field label="Title of Work" label-position="inside">
<b-input
v-model="value.workTitle"
placeholder="This work"
/>
</b-field>
<b-field label="Work URL" label-position="inside">
<b-input
v-model="value.workUrl"
placeholder="https://www.example.com/image.jpg"
/>
</b-field>
</form>
</template>
<script>
export default {
name: 'AttributionDetailsStep',
props: ['value'],
watch: {
value() { this.$emit('input', this.$props.value) }
}
}
</script>
<style lang="scss">
label.label {
font-size: 0.845rem;
}
</style>