Merge pull request #14406 from edx/bjacobel/TNL-6364

Visually indicate fields in new post form are required (TNL-6364)
This commit is contained in:
Brian Jacobel
2017-01-27 13:26:53 -05:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -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">

View File

@@ -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">

View File

@@ -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>