1. Thomas Waldmann
  2. moin-2.0

Commits

Saurabh Kathpalia  committed a99204e

Now Suggested tags renders properly in ticket submit and modify view

  • Participants
  • Parent commits 144023c
  • Branches default

Comments (0)

Files changed (4)

File MoinMoin/static/css/stylus/ticket.styl

View file
 
 .moin-ticket-link
     padding-left 150px
+
+.moin-ticket-tags
+    padding-bottom 20px

File MoinMoin/static/css/ticket.css

View file
 dt label{padding-top:10px}
 dl dd{padding-bottom:10px}
 .moin-ticket-link{padding-left:150px}
+.moin-ticket-tags{padding-bottom:20px}

File MoinMoin/templates/ticket/modify.html

View file
             {{ forms.render_errors(form) }}
             {{ render_meta() }}
         </dl>
+	<div class="moin-ticket-tags">
             {{ _("Suggested Tags: ") }}
             {% for suggested_tag in suggested_tags %}
                 {{ suggested_tag }}
             {% endfor %}
+	</div>
         <dl>
             {{ render_selectlists() }}
         </dl>

File MoinMoin/templates/ticket/submit.html

View file
 {% block ticket_metadata %}
 
     <h2>{{ _("Provide metadata") }}</h2>
-    <dl>
-    {{ forms.render_errors(form) }}
-    {{ render_meta() }}
-    </dl>
-    {{ _("Suggested Tags: ") }}
-    {% for suggested_tag in suggested_tags %}
-        {{ suggested_tag }}
-    {% endfor %}
-    <dl>
-    {{ render_selectlists() }}
-    </dl>
+    <div class="moin-ticket-metadata">
+        <dl>
+        {{ forms.render_errors(form) }}
+        {{ render_meta() }}
+        </dl>
+	<div class="moin-ticket-tags">
+            {{ _("Suggested Tags: ") }}
+            {% for suggested_tag in suggested_tags %}
+                {{ suggested_tag }}
+            {% endfor %}
+	</div>
+        <dl>
+        {{ render_selectlists() }}
+        </dl>
 
-    {{ forms.render_submit(form) }}
+        {{ forms.render_submit(form) }}
+    </div>
 {% endblock %}