Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
70874502
Commit
70874502
authored
Nov 20, 2017
by
Farhanah Sheets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add for/id attributes for explicit labeling of discussion checkboxes
parent
bf146de0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
common/static/common/templates/discussion/new-post.underscore
+6
-6
No files found.
common/static/common/templates/discussion/new-post.underscore
View file @
70874502
...
@@ -48,21 +48,21 @@
...
@@ -48,21 +48,21 @@
<div class="js-post-body editor" aria-describedby="new-post-editor-description" name="body"></div>
<div class="js-post-body editor" aria-describedby="new-post-editor-description" name="body"></div>
</div>
</div>
<div class="post-options">
<div class="post-options">
<label class="field-label label-inline">
<label
for= "follow"
class="field-label label-inline">
<input type="checkbox" name="follow" class="field-input input-checkbox" checked>
<input
id="follow"
type="checkbox" name="follow" class="field-input input-checkbox" checked>
<span class="field-input-label">
<span class="field-input-label">
<span class="icon fa fa-star" aria-hidden="true"></span><%- gettext("follow this post") %>
<span class="icon fa fa-star" aria-hidden="true"></span><%- gettext("follow this post") %>
</span>
</span>
</label>
</label>
<% if (allow_anonymous) { %>
<% if (allow_anonymous) { %>
<label class="field-label label-inline">
<label
for="anonymous"
class="field-label label-inline">
<input type="checkbox" name="anonymous" class="field-input input-checkbox">
<input
id="anonymous"
type="checkbox" name="anonymous" class="field-input input-checkbox">
<span class="field-input-label"><%- gettext("post anonymously") %></span>
<span class="field-input-label"><%- gettext("post anonymously") %></span>
</label>
</label>
<% } %>
<% } %>
<% if (allow_anonymous_to_peers) { %>
<% if (allow_anonymous_to_peers) { %>
<label class="field-label label-inline">
<label
for="anonymous_to_peers"
class="field-label label-inline">
<input type="checkbox" name="anonymous_to_peers" class="field-input input-checkbox">
<input
id="anonymous_to_peers"
type="checkbox" name="anonymous_to_peers" class="field-input input-checkbox">
<span class="field-input-label"><%- gettext("post anonymously to classmates") %></span>
<span class="field-input-label"><%- gettext("post anonymously to classmates") %></span>
</div>
</div>
<% } %>
<% } %>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment