Skip to content
Snippets Groups Projects
Commit c50a29fc authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Post template: fix HTML5

parent 9cccc527
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'unsafe-inline'"/> <meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'unsafe-inline'">
<link rel="icon" href="/{{ baseurlpath }}resources/icons/favicon.ico"> <link rel="icon" href="/{{ baseurlpath }}resources/icons/favicon.ico">
<title>{% trans %}Sending message{% endtrans %}</title> <title>{% trans %}Sending message{% endtrans %}</title>
<script src="/{{ baseurlpath }}resources/post.js"></script> <script src="/{{ baseurlpath }}resources/post.js"></script>
...@@ -15,16 +15,16 @@ ...@@ -15,16 +15,16 @@
https://developer.mozilla.org/en/DOM/form.submit#Specification https://developer.mozilla.org/en/DOM/form.submit#Specification
#} #}
<input type="submit" id="postLoginSubmitButton" style="display: none"/> <input type="submit" id="postLoginSubmitButton" style="display: none">
{%- for name, value in post %} {%- for name, value in post %}
{%- if value is iterable %} {%- if value is iterable %}
{%- for index, item in value %} {%- for index, item in value %}
<input type="hidden" name="{{ name }}[{{ index }}]" value="{{ value }}"/> <input type="hidden" name="{{ name }}[{{ index }}]" value="{{ value }}">
{%- endfor %} {%- endfor %}
{%- else %} {%- else %}
<input type="hidden" name="{{ name }}" value="{{ value }}"/> <input type="hidden" name="{{ name }}" value="{{ value }}">
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment