view email_subscribe.html @ 8:a794183069ad 5.6 tip

Update to 5.6 series
author Cédric Krier <>
date Fri, 17 Jul 2020 13:40:05 +0200
parents 567ba1b8cd49
line wrap: on
line source

<!DOCTYPE html>
<html xmlns:py="">
        <title>Subscription Request</title>
        <py:for each="record in records">
        <div style="display: block; text-align: center">
                <h1>Just one more step...</h1>
                    <py:when test=" and">
                <form action="${record.get_email_subscribe_url()}">
                    <py:for each="name, value in extract_params(record.get_email_subscribe_url())">
                    <input type="hidden" name="${name}" value="${value}"/>
                    <button type="submit"
                            style="cursor: pointer
                            padding: 0.5em 1em; font-size: 2em;
                            border: 1px solid #2E6DA4; border-radius: 4px;
                            color: #FFF; background-color: #337AB7;">
                        Subscribe to ${}
            <hr style="margin-top: 20px;
                border-style: solid none none; border-color: #EEE"></hr>
            <div style="font-size: 80%; color: #777">
                <p>Button is not working? Paste this into your browser:</p>
                <p>If you received this email by mistake, just ignore it.</p>