Mercurial > agora
diff templates/snippet/snippet_form.djhtml @ 87:e0348cfbdf48
Update styling of snippets page
Some other CSS changes too.
Work-in-progress.
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Fri, 24 Aug 2012 23:45:48 -0400 |
parents | b7c1c22fdfe8 |
children | 260f393a1a5b |
line wrap: on
line diff
--- a/templates/snippet/snippet_form.djhtml Fri Aug 24 23:42:18 2012 -0400 +++ b/templates/snippet/snippet_form.djhtml Fri Aug 24 23:45:48 2012 -0400 @@ -1,9 +1,7 @@ {% load i18n %} -<form method="post" action="." class="snippetform"> +<form method="post" action="" class="snippetform"> {% csrf_token %} -<ol> {% for field in snippet_form %} - <li> {{ field.errors }} {{ field.label_tag }} {{ field }} @@ -14,11 +12,10 @@ id="guess_lexer_btn"/> {% endifequal %} {% endif %} - </li> {% endfor %} - <li class="submit"> - <input type="submit" value="{% trans "Paste it" %}"/> - </li> -</ol> + <br /> + <div class="center-align"> + <button type="submit" class="button large">{% trans "Paste it" %}</button> + </div> </form>