diff --git a/src/wuttaweb/util.py b/src/wuttaweb/util.py index 6a57425..3bd3150 100644 --- a/src/wuttaweb/util.py +++ b/src/wuttaweb/util.py @@ -473,7 +473,7 @@ def render_csrf_token(request, name='_csrf'): See also :func:`get_csrf_token()`. """ token = get_csrf_token(request) - return HTML.tag('div', tags.hidden(name, value=token), style='display:none;') + return HTML.tag('div', tags.hidden(name, value=token, id=None), style='display:none;') def get_model_fields(config, model_class=None):