diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-11 17:11:56 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-11 17:11:56 -0500 |
commit | becdd6508fbdad915d3202fe6c101f950b21c9cf (patch) | |
tree | a0c0f1d550f3244c63b7763491d53f27cc29992b /app/lttr | |
parent | b8083e6f9a1d5f03d2b74cd9799ab23324e668c1 (diff) |
added target='_parent' to iframe submit
Diffstat (limited to 'app/lttr')
-rw-r--r-- | app/lttr/templates/lttr/friends_list.html | 2 | ||||
-rw-r--r-- | app/lttr/templates/lttr/friends_subscribe.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/lttr/templates/lttr/friends_list.html b/app/lttr/templates/lttr/friends_list.html index b1cc09b..741311d 100644 --- a/app/lttr/templates/lttr/friends_list.html +++ b/app/lttr/templates/lttr/friends_list.html @@ -11,7 +11,7 @@ <main role="main" id="essay-archive" class="essay-archive archive-list"> <div class="essay-intro"> <h1 class="list-hed">Join the <em>Friends of a Long Year</em>.</h1> - <iframe style="border:none; background:white; width:100%; margin-top: 3em;" title="embedded form for subscribing the the Friends of a Long Year newsletter" src="{% url 'lttr:subscribe' slug='friends' %}"></iframe> + <iframe target='_parent' style="border:none; background:white; width:100%; margin-top: 3em;" title="embedded form for subscribing the the Friends of a Long Year newsletter" src="{% url 'lttr:subscribe' slug='friends' %}"></iframe> <h2 class="subhead">Say what? </h2> <p><em>Friends of a Long Year</em> is a monthly letter about living outdoors, travel, reading, walking, and other ephemera. Unsubscribing is easy. It's all self-hosted, secure, and <a href="/privacy" title="My privacy policy">private</a>.</p> <p>The name <em>Friends of a Long Year</em> comes from the early 20th century explorer and desert rat, Mary Hunter Austin, whose collected essays, <a href="https://archive.org/details/lostbordersillu00brotgoog/page/n8"><cite>Lost Borders</cite></a> is dedicated to the "Friends of a Long Year".</p> diff --git a/app/lttr/templates/lttr/friends_subscribe.html b/app/lttr/templates/lttr/friends_subscribe.html index 573f415..9c6c31e 100644 --- a/app/lttr/templates/lttr/friends_subscribe.html +++ b/app/lttr/templates/lttr/friends_subscribe.html @@ -9,7 +9,7 @@ media="screen"> </head> <body> - <form action="" method="post" class="generic-form flex newsletter-subscribe">{% csrf_token %} + <form action="" method="post" target='_parent' class="generic-form flex newsletter-subscribe">{% csrf_token %} {% for field in form %} <fieldset> {{field.label_tag}} |