Skip to content
Snippets Groups Projects
Commit 47a7fcda authored by DawoudSheraz's avatar DawoudSheraz
Browse files

EDUCATOR-3604 programmatic association for Discussion Forum title label

parent 73abc25b
No related branches found
No related tags found
No related merge requests found
......@@ -32,13 +32,14 @@
<% } %>
<div class="post-field group-visibility" id="wrapper-visibility-message"></div>
<div class="post-field">
<label class="field-label">
<label class="field-label" for='discussion-forum-title'>
<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. (Required)") %>
</div>
<div>
<input aria-describedby="field_help_title" type="text" class="js-post-title field-input" name="title">
<input id='discussion-forum-title' aria-describedby="field_help_title" type="text" class="js-post-title field-input" name="title">
</div>
</label>
</div>
......
......@@ -2,12 +2,13 @@
<ul class="post-errors"></ul>
<div class="forum-edit-post-form-wrapper"></div>
<div class="post-field">
<label class="field-label">
<label class="field-label" for='edit-discussion-forum-title'>
<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. (Required)") %>
</div>
<input aria-describedby="field_help_title" type="text" class="edit-post-title field-input" name="title" value="<%- title %>">
<input id='edit-discussion-forum-title' aria-describedby="field_help_title" type="text" class="edit-post-title field-input" name="title" value="<%- title %>">
</label>
</div>
<div class="form-row post-field">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment