       }
                ]
            });
        });

        $("form#menuform").submit(function (e) {
            e.preventDefault();
            $.post("{% url 'recruiter:add_menu' %}", $("form#menuform").serialize(), function (msg) {
                if (msg.error) {
                    $('.error').remove();
                    for (var key in msg.response) {
                        $('#' + key).after('<div class="error">' + msg.response[key] + '</div>');
                        ;
         