aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2011-06-02 16:39:47 +0200
committerElrond <elrond+mediagoblin.org@samba-tng.org>2011-06-02 16:39:47 +0200
commitb897fdf91b2fe03c299880545fc6712d50cd0e97 (patch)
treec6ec2c7cb1c8e440a3428d435cb118ff022decd5 /mediagoblin
parent7fd6f623f1cb558360c940a6dd1dc6c1e74fe31b (diff)
downloadmediagoblin-b897fdf91b2fe03c299880545fc6712d50cd0e97.tar.lz
mediagoblin-b897fdf91b2fe03c299880545fc6712d50cd0e97.tar.xz
mediagoblin-b897fdf91b2fe03c299880545fc6712d50cd0e97.zip
Change edit form to use divs instead of table
Diffstat (limited to 'mediagoblin')
-rw-r--r--mediagoblin/templates/mediagoblin/edit/edit.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/mediagoblin/templates/mediagoblin/edit/edit.html b/mediagoblin/templates/mediagoblin/edit/edit.html
index bd85f361..d694ce25 100644
--- a/mediagoblin/templates/mediagoblin/edit/edit.html
+++ b/mediagoblin/templates/mediagoblin/edit/edit.html
@@ -25,13 +25,12 @@
<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']) }}" />