Skip to content

Commit

Permalink
Merge pull request #145 from codeeu/dev-raph
Browse files Browse the repository at this point in the history
Tag field on registration form and Privacy terms on profile page
  • Loading branch information
raphdom committed Oct 18, 2018
2 parents 2b47edf + 7cba878 commit 8311519
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/assets/js/components/InputTags.vue
@@ -1,6 +1,6 @@
<template>
<div>
<input-tag :tags.sync="tagsArray"></input-tag>
<input-tag :tags.sync="tagsArray" :addTagOnBlur="addTagOnBlur"></input-tag>
<input type="hidden" name="tags" :value="tagsArray">
</div>
</template>
Expand All @@ -13,7 +13,8 @@
props: ['value'],
data() {
return {
tagsArray: this.value ? this.value.split(',') : []
tagsArray: this.value ? this.value.split(',') : [],
addTagOnBlur: true
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions resources/views/profile.blade.php
Expand Up @@ -54,6 +54,14 @@
@endcomponent
<br/>
<br/>

<p>
<input type="checkbox" id="privacy" name="feature"
value="privacy" />
<label for="privacy">I have read and agree with the Privacy Police terms described on this <a href="https://s3-eu-west-1.amazonaws.com/codeweek-s3/docs/CodeWeek+Privacy+Statement+Contact+Points.pdf">document</a>.</label>
</p>


<div class="form-group">
<button type="submit" class="btn btn-default">Update</button>
</div>
Expand Down

0 comments on commit 8311519

Please sign in to comment.