e="submit" class="btn btn-primary default" name="_save" {{ onclick_attrib }}>{% trans 'Save' %}</button>{% endif %}
  </div>

<script>
(function ($) {
	var i = 0;
	$('form').submit(function () {
		i++; if(i > 1) { return false; }
	});
})(jQuery);
</script>
</div>