anonymous_subscription_form.naml

<override_macro name="anonymous_subscription_form">
    <n.comment.>Do not let them subscribe unless logged in</n.comment.>
    <div style="margin:1em 0">
        <t>Please <n.login_link.>log in</n.login_link.> first to subscribe via email</t>
        <script type="text/javascript">
            var $l = $('#login-link');
            var subscribe = "/template/NamlServlet.jtp?macro=subscribe&node=<n.page_node.id/>";
            $l.attr('href', $l.attr('href') + "&nextUrl="+ encodeURIComponent(subscribe));
        </script>
    </div>
</override_macro>