--- a/app/soc/templates/soc/models/edit.html Wed Feb 25 20:11:22 2009 +0000
+++ b/app/soc/templates/soc/models/edit.html Wed Feb 25 20:41:28 2009 +0000
@@ -62,10 +62,10 @@
{% block delete_button %}
<td>
- <input type="submit" class="button" value="Delete"
+ <input type="button" class="button" value="Delete"
onclick="if(confirm('Are you sure you want to delete this {{ entity_type }}?')) {
- location.href='/{{ entity_type_url|lower }}/delete/{{ entity_suffix }}'
- };"/>
+ location.href='/{{ entity_type_url|lower }}/delete/{{ entity_suffix }}';
+ }"/>
</td>
{% endblock %}