Switch to side-by-side view

--- a/Allura/allura/templates/widgets/post_widget.html
+++ b/Allura/allura/templates/widgets/post_widget.html
@@ -52,19 +52,23 @@
           <div class="clear"></div>
           {% for att in value.attachments %}
             <div class="attachment_thumb" style="min-height: 130px;">
-              {% if att.is_image() %}
-                <a href="{{att.url()}}"><img src="{{att.url()}}/thumb" alt="Thumbnail"/></a>
-                <br/>
-                <a href="{{att.url()}}">{{att.filename}}</a>
-              {% else %}
-                <a href="{{att.url()}}">{{att.filename}}</a>
-              {% endif %}
-              {% if c.user._id and value.author_id==c.user._id %}
-              <br>
-              <form method="POST" action="{{att.url()}}">
-                <input class="submit delete_attachment" type="submit" name="delete" value="X"/>
-              </form>
-              {% endif %}
+                <form method="POST" action="{{att.url()}}">
+                {% if att.is_image() %}
+                    <a href="{{att.url()}}"><img src="{{att.url()}}/thumb" alt="Thumbnail"/></a>
+                    <br/>
+                    <a href="{{att.url()}}">{{att.filename}}</a>
+                    {% if c.user._id and value.author_id==c.user._id %}
+                        <br>
+                        <input class="submit delete_attachment pic" type="submit" value="X"/>
+                    {% endif %}
+                {% else %}
+                    <a href="{{att.url()}}">{{att.filename}}</a>
+                    {% if c.user._id and value.author_id==c.user._id %}
+                    <input class="submit delete_attachment file" type="submit" value="X"/>
+                    {% endif %}
+                {% endif %}
+                <input type="hidden" name="delete" value="True">
+                </form>
             </div>
           {% endfor %}
         </div>