Commit c67b8aa0 by Brian Jacobel

Visually indicate fields in new post form are required

parent d4df4268
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<label class="field-label"> <label class="field-label">
<span class="field-label-text"><%- gettext("Title") %></span> <span class="field-label-text"><%- gettext("Title") %></span>
<div class="field-help" id="field_help_title"> <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>
<div> <div>
<input aria-describedby="field_help_title" type="text" class="js-post-title field-input" name="title"> <input aria-describedby="field_help_title" type="text" class="js-post-title field-input" name="title">
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</div> </div>
<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 class="js-post-body editor" aria-describedby="new-post-editor-description" name="body"></div>
</div> </div>
<div class="post-options"> <div class="post-options">
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<%- gettext("Post type") %> <%- gettext("Post type") %>
</span> </span>
<div class="field-help" id="field_help_post_type"> <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>
<div class="field-label"> <div class="field-label">
<fieldset class="field-input"> <fieldset class="field-input">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<%- gettext("Topic area") %> <%- gettext("Topic area") %>
</span> </span>
<div class="field-help" id="field_help_topic_area"> <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>
<div class="field-input"> <div class="field-input">
<select class="post-topic field-input" aria-describedby="field_help_topic_area" required> <select class="post-topic field-input" aria-describedby="field_help_topic_area" required>
......
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