Commit d30d12f1 by Jason Bau

also hide labels from follow button

parent 1fad659c
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="left-column"> <div class="left-column">
<div class="options"> <div class="options">
<input style="display: none;" type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label for="new-post-follow">${_("follow this post")}</label> <input style="display: none;" type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label style="display: none;" for="new-post-follow">${_("follow this post")}</label>
<br> <br>
% if course.allow_anonymous: % if course.allow_anonymous:
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</div> </div>
<div class="options"> <div class="options">
<input style="display: none;" type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label for="new-post-follow">${_("follow this post")}</label> <input style="display: none;" type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label style="display: none;" for="new-post-follow">${_("follow this post")}</label>
<br> <br>
% if course.allow_anonymous: % if course.allow_anonymous:
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<input type="submit" class="submit" value="Add post"> <input type="submit" class="submit" value="Add post">
<a href="#" class="new-post-cancel">Cancel</a> <a href="#" class="new-post-cancel">Cancel</a>
<div class="options"> <div class="options">
<input type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label for="new-post-follow">follow this post</label> <input style="display: none;" type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label style="display: none;" for="new-post-follow">follow this post</label>
<br> <br>
{{#allow_anonymous}} {{#allow_anonymous}}
<input type="checkbox" name="anonymous" class="discussion-anonymous" id="new-post-anonymous"><label for="new-post-anonymous">post anonymously</label> <input type="checkbox" name="anonymous" class="discussion-anonymous" id="new-post-anonymous"><label for="new-post-anonymous">post anonymously</label>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment