Browse Source

Replace tag input with rich widget

Getty Ritter 1 year ago
parent
commit
03d2ed0dd5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      templates/edit_link.mustache

+ 3 - 1
templates/edit_link.mustache

@@ -19,7 +19,9 @@
     </div>
     <div class="tags">
       <label for="tags">Tags</label>
-      <input name="tags" type="text" value="{{#tags}}{{#tag}}{{name}} {{/tag}}{{/tags}}" />
+      <input class="tagtest" type="text"
+        value="{{#tags}}{{#tag}}{{name}}{{/tag}},{{/tags}}"
+        data-whitelist="{{#all_tags}}{{name}},{{/all_tags}}" />
     </div>
 
     <div class="submit">