[+] Add checkbox for anonymous
This commit is contained in:
@@ -65,6 +65,7 @@
|
|||||||
<el-input type="textarea" placeholder="Comments... (Optional)"
|
<el-input type="textarea" placeholder="Comments... (Optional)"
|
||||||
v-model="ratingComment" maxlength="4500" show-word-limit :autosize="{minRows: 2, maxRows: 4}">
|
v-model="ratingComment" maxlength="4500" show-word-limit :autosize="{minRows: 2, maxRows: 4}">
|
||||||
</el-input>
|
</el-input>
|
||||||
|
<el-checkbox v-model="ratingAnonymous">Anonymous</el-checkbox>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
@@ -100,6 +101,7 @@
|
|||||||
];
|
];
|
||||||
ratingData = [0,0,0,0,0];
|
ratingData = [0,0,0,0,0];
|
||||||
ratingComment = '';
|
ratingComment = '';
|
||||||
|
ratingAnonymous = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Redirect to the course page
|
* Redirect to the course page
|
||||||
|
|||||||
Reference in New Issue
Block a user