summaryrefslogtreecommitdiffstats
path: root/templates/editcave.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/editcave.html')
-rw-r--r--templates/editcave.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/editcave.html b/templates/editcave.html
index 6f7b741..05fc243 100644
--- a/templates/editcave.html
+++ b/templates/editcave.html
@@ -59,8 +59,9 @@ at troggle/core/forms.py ass this uses a Django magic form creation thinggy. -->
<h2>{{message}}</h2>
<form action="" method="post">{% csrf_token %}
- <table>{{ form }}
- <!-- begin caveAndEntranceFormSet-->{{caveAndEntranceFormSet}}<!--end caveAndEntranceFormSet--></table>
+ {% if tabletype == 'table' %}<table>{% else %}<div>{% endif %}
+ {{ form }}
+ {% if tabletype == 'table' %}</table>{% else %}</div>{% endif %}
<p><input style="font-weight: bold; font-size: 200%; font-variant-caps: small-caps; margin-left: 40%;" type="submit" value="Submit" /></p>
</form>