// Common JavaScript code across your application goes here.
function disable_form_button(form_name) {
	$('#add_spending_category_form').submit(function(){
    	$('submit[type=submit]', this).attr('disabled', 'disabled');
	});
}