(function() { const formErrors = JSON.parse($('#team-error-data').data('form-errors')); $('form').render_form_errors('team', formErrors, false); }());