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
99910240
Commit
99910240
authored
Jan 27, 2017
by
Brian Jacobel
Committed by
GitHub
Jan 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14406 from edx/bjacobel/TNL-6364
Visually indicate fields in new post form are required (TNL-6364)
parents
41ea1383
c407127d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
common/static/common/templates/discussion/new-post.underscore
+2
-2
common/static/common/templates/discussion/thread-type.underscore
+1
-1
common/static/common/templates/discussion/topic.underscore
+1
-1
No files found.
common/static/common/templates/discussion/new-post.underscore
View file @
99910240
...
...
@@ -33,7 +33,7 @@
<label class="field-label">
<span class="field-label-text"><%- gettext("Title") %></span>
<div class="field-help" id="field_help_title">
<%- gettext("Add a clear and descriptive title to encourage participation.") %>
<%- gettext("Add a clear and descriptive title to encourage participation.
(Required)
") %>
</div>
<div>
<input aria-describedby="field_help_title" type="text" class="js-post-title field-input" name="title">
...
...
@@ -42,7 +42,7 @@
</div>
<div>
<span class="field-label-text field-label-text-full" id="new-post-editor-description"><%- gettext('Your question or idea') %></span>
<span class="field-label-text field-label-text-full" id="new-post-editor-description"><%- gettext('Your question or idea
(required)
') %></span>
<div class="js-post-body editor" aria-describedby="new-post-editor-description" name="body"></div>
</div>
<div class="post-options">
...
...
common/static/common/templates/discussion/thread-type.underscore
View file @
99910240
...
...
@@ -5,7 +5,7 @@
<%- gettext("Post type") %>
</span>
<div class="field-help" id="field_help_post_type">
<%- gettext("Questions raise issues that need answers. Discussions share ideas and start conversations.") %>
<%- gettext("Questions raise issues that need answers. Discussions share ideas and start conversations.
(Required)
") %>
</div>
<div class="field-label">
<fieldset class="field-input">
...
...
common/static/common/templates/discussion/topic.underscore
View file @
99910240
...
...
@@ -4,7 +4,7 @@
<%- gettext("Topic area") %>
</span>
<div class="field-help" id="field_help_topic_area">
<%- gettext("Add your post to a relevant topic to help others find it.") %>
<%- gettext("Add your post to a relevant topic to help others find it.
(Required)
") %>
</div>
<div class="field-input">
<select class="post-topic field-input" aria-describedby="field_help_topic_area" required>
...
...
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