Put file input form at the top of submission form
authorJef van Schendel <jefvanschendel@gmail.com>
Sun, 3 Jul 2011 19:12:22 +0000 (21:12 +0200)
committerJef van Schendel <jefvanschendel@gmail.com>
Sun, 3 Jul 2011 19:12:22 +0000 (21:12 +0200)
mediagoblin/templates/mediagoblin/submit/start.html

index f34bf2af9c5cde848546b8077969a9a5e3c12515..387c2743d905ddf25183ad2e605ec931a0f5d8ba 100644 (file)
 {% import "/mediagoblin/utils/wtforms.html" as wtforms_util %}
 
 {% block mediagoblin_content %}
-
   <form action="{{ request.urlgen('mediagoblin.submit.start') }}"
         method="POST" enctype="multipart/form-data">
     <div class="grid_6 prefix_1 suffix_1 form_box">
       <h1>Submit yer media</h1>
+      {{ wtforms_util.render_field_div(submit_form.file) }}
       {{ wtforms_util.render_field_div(submit_form.title) }}
       {{ wtforms_util.render_textarea_div(submit_form.description) }}
-      {{ wtforms_util.render_field_div(submit_form.file) }}
       <div class="form_submit_buttons">
       <input type="submit" value="Submit" class="button" />
       </div>
     </div>
   </form>
-{% endblock %}    
+{% endblock %}