se_message, 'Info!!')
                }
                for (var key in data.response) {
                    $('#' + key).after('<div class="error">' + data.response[key] + '</div>');
                }
            }
        }
    });

    $('form#ticketform').ajaxForm({
        type: 'POST',
        dataType: 'json',
        data: $('#ticketform').serialize(),
        url: '/tickets/comment/' + {{ ticket.id }}+'/',
        success: function (data) {
            if (data.error == false) {
                ope