Change edit form to use divs instead of table
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 2 Jun 2011 14:39:47 +0000 (16:39 +0200)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 2 Jun 2011 14:39:47 +0000 (16:39 +0200)
mediagoblin/templates/mediagoblin/edit/edit.html

index bd85f3610ccc7508715a9f0487177a368fbfcf89..d694ce25beb5ce6501c943b5ae4fe34acab2944d 100644 (file)
   <form action="{{ request.urlgen('mediagoblin.edit.edit_media',
                                media= media._id) }}"
         method="POST" enctype="multipart/form-data">
-    <table>
-      {{ wtforms_util.render_table(form) }}
-      <tr>
-        <td></td>
-        <td><input type="submit" value="submit" class="button" /></td>
-      </tr>
-    </table>
+    <div class="submit_box form_box">
+      {{ wtforms_util.render_divs(form) }}
+      <div class="form_submit_buttons">
+        <input type="submit" value="submit" class="button" />
+      </div>
+    </div>
   </form>
   <img src="{{ request.app.public_store.file_url(
          media['media_files']['thumb']) }}" />