Changed submit form to divs
authorJef van Schendel <jefvanschendel@gmail.com>
Sat, 28 May 2011 23:14:48 +0000 (01:14 +0200)
committerJef van Schendel <jefvanschendel@gmail.com>
Sat, 28 May 2011 23:14:48 +0000 (01:14 +0200)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/submit/start.html

index cc60d7c9071c94833402d0dd2b5e33a4579ddf85..55e5a02e56c926208c5ccdbe45d93580f6e4441c 100644 (file)
@@ -101,6 +101,10 @@ label {
   font-size:18px;
 }
 
+.submit_box {
+  width:600px;
+}
+
 .form_box h1 {
   font-size:28px;
 }
index 8fdbe4ed33273c3d1b42b14a3b7f779983d9816e..75c31df49975fbd82efec94fd25eefa7914160a1 100644 (file)
 {% import "/mediagoblin/utils/wtforms.html" as wtforms_util %}
 
 {% block mediagoblin_content %}
-  <h1>Submit yer media</h1>
 
   <form action="{{ request.urlgen('mediagoblin.submit.start') }}"
         method="POST" enctype="multipart/form-data">
-    <table>
-      {{ wtforms_util.render_table(submit_form) }}
-      <tr>
-        <td></td>
-        <td><input type="submit" value="submit" class="button" /></td>
-      </tr>
-    </table>
+    <div class="submit_box form_box">
+      <h1>Submit yer media</h1>
+      {{ wtforms_util.render_divs(submit_form) }}
+      <div class="form_submit_buttons">
+      <input type="submit" value="submit" class="button" />
+      </div>
+    </div>
   </form>
 {% endblock %}