{% extends "layout2.html" %}
{% load i18n %}
{% load static %}
{% block css_include %}
{% endblock %}
{% block js_include %}
{% endblock %}
{% block content %}
' + JSON.stringify(data, null, 4) + ""); $('#modal-test-openid').modal('show'); } ).fail(function(response){ notify('error', response.status, response.responseText) $(btn).prop('disabled', false); $(btn).html(txt); }) }) /* Show jwt class if enable_jwt is True */ $('#id_enable_jwt').on('change', function(e) { if ( $(this).is(':checked') ) $('.jwt').show(); else $('.jwt').hide(); }).trigger('change'); function handle_form_errors(data){ if (typeof(data['form_errors']) !== 'undefined'){ $('.errorlist').remove(); $.each(data['form_errors'], function(field_name, error_list){ field_selector = $('#id_'+field_name); var ul = $('