summaryrefslogtreecommitdiff
path: root/templates/edit_fieldsets.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/edit_fieldsets.html')
-rw-r--r--templates/edit_fieldsets.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/edit_fieldsets.html b/templates/edit_fieldsets.html
index b86f3d9..d528a4c 100644
--- a/templates/edit_fieldsets.html
+++ b/templates/edit_fieldsets.html
@@ -13,7 +13,7 @@
<legend class="ui-state-highlight ui-corner-all">{{ fieldset.legend }}</legend>
{% endif %}
{% if fieldset.description %}
- <p>{{ fieldset.description }}</p>
+ <p class="description">{{ fieldset.description }}</p>
{% endif %}
<ul class="links">
{% for field in fieldset %}
@@ -35,7 +35,9 @@
<ul>
<li><input type="reset" value="Back"/></li>
<li><input type="submit" value="Finish"/></li>
- <li><input type="button" style="float: right;" onClick="document.location='{{name.url}}'" value="Cancel"/></li>
+ {% if name %}
+ <li style="float: right;"><input type="button" onClick="document.location='{{name.url}}'" value="Cancel"/></li>
+ {% endif %}
</ul>
</div>
</form>