aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-06-24 23:49:37 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-06-24 23:49:37 -0500
commit353f927e9f4343e56503b3144e25095dcbbe7cfa (patch)
tree45fc265bb9f3991933b99a682e69eb457a851ca5 /mediagoblin/templates
parent528f9acd23d1c474a6092f67c4187d9f074de3a2 (diff)
downloadmediagoblin-353f927e9f4343e56503b3144e25095dcbbe7cfa.tar.lz
mediagoblin-353f927e9f4343e56503b3144e25095dcbbe7cfa.tar.xz
mediagoblin-353f927e9f4343e56503b3144e25095dcbbe7cfa.zip
Adjust the width of the fields on the form submission
Did several things, including: - Call the individual form field rendering macros instead of the auto whole-form renderer so we get better control over the TextArea - Use the textarea specific form field rendering macro - Adds textarea styling to the css - Sets the input, textarea styling to be 460 px wide (the width of the form section, not including padding)
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/submit/start.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/submit/start.html b/mediagoblin/templates/mediagoblin/submit/start.html
index 00577fa1..f34bf2af 100644
--- a/mediagoblin/templates/mediagoblin/submit/start.html
+++ b/mediagoblin/templates/mediagoblin/submit/start.html
@@ -25,7 +25,9 @@
method="POST" enctype="multipart/form-data">
<div class="grid_6 prefix_1 suffix_1 form_box">
<h1>Submit yer media</h1>
- {{ wtforms_util.render_divs(submit_form) }}
+ {{ 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>