File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
frontend/components/organisms/projects Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 38
38
data-test =" project-type"
39
39
required
40
40
/>
41
+ <v-checkbox
42
+ v-model =" enableRandomizeDocOrder"
43
+ label =" Randomize document order"
44
+ />
45
+ <v-checkbox
46
+ v-model =" enableShareAnnotation"
47
+ label =" Share annotations across all users"
48
+ />
41
49
</v-form >
42
50
</template >
43
51
</base-card >
@@ -72,6 +80,8 @@ export default {
72
80
name: ' ' ,
73
81
description: ' ' ,
74
82
projectType: null ,
83
+ enableShareAnnotation: false ,
84
+ enableRandomizeDocOrder: false ,
75
85
projectNameRules,
76
86
projectTypeRules,
77
87
descriptionRules
@@ -113,9 +123,9 @@ export default {
113
123
description: this .description ,
114
124
project_type: this .getServerType (),
115
125
guideline: ' Please write annotation guideline.' ,
116
- resourcetype: this .getResourceType ()
117
- // randomize_document_order: this.randomizeDocumentOrder ,
118
- // collaborative_annotation: this.collaborativeAnnotation
126
+ resourcetype: this .getResourceType (),
127
+ randomize_document_order: this .enableRandomizeDocOrder ,
128
+ collaborative_annotation: this .enableShareAnnotation
119
129
})
120
130
this .reset ()
121
131
this .cancel ()
You can’t perform that action at this time.
0 commit comments