]> git.ipfire.org Git - ipfire.org.git/commitdiff
sponsors: Correctly forward tests sponsors
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 30 May 2025 11:02:22 +0000 (11:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 30 May 2025 11:02:22 +0000 (11:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/sponsors/next.html

index 3389aa6b347d3262d5399f81e3338390ae29a782..88909467231021094605b066820700a04ad76668 100644 (file)
                        <form method="POST" action="/sponsors/next" id="address">
                                {% raw xsrf_form_html() %}
 
+                               {# Forward that this is a test #}
+                               {% if test %}
+                                       <input type="hidden" name="test" value="{{ test }}">
+                               {% end %}
+
                                {# Forward previous form inputs... #}
                                <input type="hidden" name="amount" value="{{ amount }}">
                                <input type="hidden" name="currency" value="{{ currency }}">