Commit d804f637 by Jonathan Piacenti

Add wrapper to discussion topic dropdown.

parent e28dde32
...@@ -405,6 +405,7 @@ browser and pasting the output. When that file changes, this one should be rege ...@@ -405,6 +405,7 @@ browser and pasting the output. When that file changes, this one should be rege
</script> </script>
<script aria-hidden="true" type="text/template" id="topic-template"> <script aria-hidden="true" type="text/template" id="topic-template">
<div class="topic-wrapper">
<div class="field-label"> <div class="field-label">
<span class="field-label-text">Topic Area:</span><div class="field-input post-topic"> <span class="field-label-text">Topic Area:</span><div class="field-input post-topic">
<a href="#" class="post-topic-button"> <a href="#" class="post-topic-button">
...@@ -423,6 +424,7 @@ browser and pasting the output. When that file changes, this one should be rege ...@@ -423,6 +424,7 @@ browser and pasting the output. When that file changes, this one should be rege
</div><span class="field-help"> </div><span class="field-help">
Add your post to a relevant topic to help others find it. Add your post to a relevant topic to help others find it.
</span> </span>
</div>
</script> </script>
......
...@@ -486,6 +486,7 @@ from django_comment_client.permissions import has_permission ...@@ -486,6 +486,7 @@ from django_comment_client.permissions import has_permission
<script aria-hidden="true" type="text/template" id="topic-template"> <script aria-hidden="true" type="text/template" id="topic-template">
## Using div here instead of label because we are using a non-native control ## Using div here instead of label because we are using a non-native control
<div class="topic-wrapper">
<div class="field-label"> <div class="field-label">
<span class="field-label-text">${_("Topic Area:")}</span><div class="field-input post-topic"> <span class="field-label-text">${_("Topic Area:")}</span><div class="field-input post-topic">
<a href="#" class="post-topic-button"> <a href="#" class="post-topic-button">
...@@ -504,6 +505,7 @@ from django_comment_client.permissions import has_permission ...@@ -504,6 +505,7 @@ from django_comment_client.permissions import has_permission
</div><span class="field-help" id="field_help_topic_area"> </div><span class="field-help" id="field_help_topic_area">
${_("Add your post to a relevant topic to help others find it.")} ${_("Add your post to a relevant topic to help others find it.")}
</span> </span>
</div>
</script> </script>
<%def name="primaryAction(action_class, icon, sr_label, unchecked_label, checked_label)"> <%def name="primaryAction(action_class, icon, sr_label, unchecked_label, checked_label)">
......
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