website_form.html 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <template name="website_form">
  2. {{#if isLoggedIn }}
  3. <a class="btn btn-default js-toggle-website-form" href="#">
  4. <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
  5. </a>
  6. {{/if}}
  7. <div id="website_form" class="hidden_div panel panel-default">
  8. <div class="panel-body">
  9. <form class="js-save-website-form">
  10. <div class="input-group">
  11. <label for="url" class="input-group-addon">Site address</label>
  12. <input type="text" class="form-control" id="url" placeholder="http://www.mysite.com">
  13. <span class="input-group-btn"><button id="site-lookup" class="btn btn-primary">Lookup info</button></span>
  14. </div>
  15. <div class="input-group">
  16. <label for="title" class="input-group-addon">Title</label>
  17. <input type="text" class="form-control" id="title" placeholder="Mysite">
  18. </div>
  19. <div class="input-group">
  20. <label for="description" class="input-group-addon">Description</label>
  21. <input type="text" class="form-control" id="description" placeholder="I found this site really useful for ...">
  22. </div>
  23. <button type="submit" class="btn btn-default">Submit</button>
  24. </form>
  25. </div>
  26. </div>
  27. </template>