summaryrefslogtreecommitdiff
path: root/templates/edit.html
diff options
context:
space:
mode:
authorJohan Berggren <jbn@nordu.net>2011-03-04 14:38:19 +0100
committerJohan Berggren <jbn@nordu.net>2011-03-04 14:38:19 +0100
commit613ab889ea717c86cda5b61332027581d6eb61e8 (patch)
treef46c11bc3bdb97e5fcdd7c8c0c470cf7d28bec29 /templates/edit.html
parent07a04353ebacf6769683b55694d5aa78139d1d4f (diff)
parentf0dd7b2469b6d276fdfdc0a0dc4da5101ce272cc (diff)
Merge branch 'master' of git.nordu.net:coip
Diffstat (limited to 'templates/edit.html')
-rw-r--r--templates/edit.html52
1 files changed, 27 insertions, 25 deletions
diff --git a/templates/edit.html b/templates/edit.html
index 337264d..0a17922 100644
--- a/templates/edit.html
+++ b/templates/edit.html
@@ -4,31 +4,33 @@
$('#id_description').wysiwyg();
{% endblock %}
{% block content %}
- {% block beforeform %}
- {% endblock %}
- <form method="POST" class="ui-helper-reset ui-widget-contents ui-corner-all">
- <div class="infopanel">
- <h1>{{formtitle}}</h1>
- <table class="formtable">
- {% for field in form %}
- <tr>
- <td>
- {% if not field.is_hidden %}
- <div class="ui-widget fieldlabel">{{ field.label_tag }}</div>
- {% endif %}
- {% if field.errors %}
- <div class="ui-widget ui-state-error">{{ field.errors }}</div>
- {% endif %}
- <div class="ui-widget">{{ field }}</div>
- </td>
- </tr>
- {% endfor %}
- </table>
- </div>
- <br/>
- <div class="button">
- <input type="submit" value="{{submitname}}" />
- <input type="button" onClick="document.location='{{name.url}}'" value="Cancel"/>
+{% block beforeform %}{% endblock %}
+<div>
+ <form method="POST" class="bbq ui-helper-reset ui-widget ui-widget-content ui-corner-all formpadding">
+ <h1>{{formtitle}}</h1>
+ <table class="formtable">
+ {% for field in form %}
+ <tr>
+ <td>
+ {% if not field.is_hidden %}
+ <div class="ui-widget fieldlabel">{{ field.label_tag }}</div>
+ {% endif %}
+ {% if field.errors %}
+ <div class="ui-widget ui-state-error">{{ field.errors }}</div>
+ {% endif %}
+ <div class="ui-widget">{{ field }}</div>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ <div class="ilist button" style="padding-bottom: 10px;">
+ <ul>
+ <li><input type="submit" value="{{submitname}}" /></li>
+ {% if name %}
+ <li style="float: right;"><input type="button" onClick="document.location='{{name.url}}'" value="Done"/></li>
+ {% endif %}
+ </ul>
</div>
</form>
+</div>
{% endblock %} \ No newline at end of file