diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-07-21 21:48:54 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-07-21 21:48:54 -0700 |
commit | fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48 (patch) | |
tree | 28b2ee80c9356303a0a8732ce09f0dd6c1fb6d16 /youtube/templates/comments_page.html | |
parent | 167483af21fb252622170c4b5e3ae3ce81f58733 (diff) | |
download | yt-local-fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48.tar.lz yt-local-fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48.tar.xz yt-local-fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48.zip |
Convert comment posting system to flask framework
Diffstat (limited to 'youtube/templates/comments_page.html')
-rw-r--r-- | youtube/templates/comments_page.html | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/youtube/templates/comments_page.html b/youtube/templates/comments_page.html index 302fcac..c7947fa 100644 --- a/youtube/templates/comments_page.html +++ b/youtube/templates/comments_page.html @@ -42,23 +42,7 @@ </section> {% endif %} - - <form action="{{ form_action }}" method="post" class="comment-form"> - <div id="comment-account-options"> - <label for="account-selection">Account:</label> - <select id="account-selection" name="channel_id"> - {% for account in accounts %} - <option value="{{ account[0] }}">{{ account[1] }}</option> - {% endfor %} - </select> - <a href="/https://youtube.com/login" target="_blank">Add account</a> - </div> - <textarea name="comment_text"></textarea> - {% if include_video_id_input %} - <input type="hidden" name="video_id" value="{{ comments_info['video_id'] }}"> - {% endif %} - <button type="submit" class="post-comment-button">{{ 'Post reply' if comments_info['is_replies'] else 'Post comment' }}</button> - </form> + {{ comments.comment_posting_box(comment_posting_box_info) }} {% if not comments_info['is_replies'] %} <div class="comment-links"> |