{#
# GNU MediaGoblin -- federated, autonomous media hosting
-# Copyright (C) 2011 Free Software Foundation, Inc
+# Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
{% import "/mediagoblin/utils/wtforms.html" as wtforms_util %}
-{% block mediagoblin_content %}
- <h2>Submit yer media</h2>
+{% block title -%}
+ {% trans %}Add your media{% endtrans %} — {{ super() }}
+{%- endblock %}
+{% block mediagoblin_content %}
<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" /></td>
- </tr>
- </table>
+ <div class="form_box_xl">
+ <h1>{% trans %}Add your media{% endtrans %}</h1>
+ {{ wtforms_util.render_divs(submit_form) }}
+ <div class="form_submit_buttons">
+ {{ csrf_token }}
+ <input type="submit" value="{% trans %}Add{% endtrans %}" class="button_form" />
+ </div>
+ </div>
</form>
-{% endblock %}
+{% endblock %}