edit_link.mustache 1018 B

1234567891011121314151617181920212223242526272829303132
  1. {{#link}}
  2. <div class="loginform">
  3. <form name="edit_link" method="POST" action="{{link_url}}">
  4. <div class="url">
  5. <label for="url">URL</label>
  6. <input name="url" type="text" value="{{url}}" />
  7. </div>
  8. <div class="name">
  9. <label for="name">Link Name</label>
  10. <input name="name" type="text" value="{{name}}" />
  11. </div>
  12. <div class="description">
  13. <label for="description">Description</label>
  14. <input name="description" type="text" value="{{description}}" />
  15. </div>
  16. <div class="private">
  17. <label for="private">Private?</label>
  18. <input name="private" type="checkbox" {{#private}}checked {{/private}}/>
  19. </div>
  20. <div class="tags">
  21. <label for="tags">Tags</label>
  22. <input class="tagtest" type="text"
  23. value="{{#tags}}{{#tag}}{{name}}{{/tag}},{{/tags}}"
  24. data-whitelist="{{#all_tags}}{{name}},{{/all_tags}}" />
  25. </div>
  26. <div class="submit">
  27. <input type="submit" value="Save" />
  28. </div>
  29. </form>
  30. </div>
  31. {{/link}}