summaryrefslogtreecommitdiff
path: root/views/new-bookmark.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/new-bookmark.php')
-rw-r--r--views/new-bookmark.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/new-bookmark.php b/views/new-bookmark.php
index 4b4eebb..32e9043 100644
--- a/views/new-bookmark.php
+++ b/views/new-bookmark.php
@@ -28,7 +28,7 @@
</div>
<div class="form-group">
- <label for="note_category">Tags (<code>category</code>, optional, comma-separated list of tags)</label>
+ <label for="note_category">Tags (<code>category</code>)</label>
<input type="text" id="note_category" value="<?= $this->bookmark_tags ?>" class="form-control" placeholder="e.g. web, personal">
</div>
@@ -67,6 +67,11 @@
<script>
$(function(){
+ $("#note_category").tokenfield({
+ createTokensOnBlur: true,
+ beautify: true
+ });
+
$("#btn_post").click(function(){
if($("#note_bookmark").val() == "") {