t>
<script type="text/javascript">
$(function(){
	$('#resend_email').on('click', function(){
		var uuid = $(this).data('uuid');
		$.post('/account/send_activate_email', {uuid:uuid}, function(result) {
			if (result.ok) {
				comTip(result.msg);
			} else {
				comTip(result.error);
			}
		});
	});

	$('#active-submit').on('click', function(evt){
		$(this).attr("disabled", "disabled");
		evt.preventDefault();

		let $form = $('.active-form'),
				data = $form.serialize(),
				url = $form.attr('action'),
				