diff options
Diffstat (limited to 'templates/web/default')
-rw-r--r-- | templates/web/default/alert/list.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/web/default/alert/list.html b/templates/web/default/alert/list.html index 3673d6db3..8b76fd04a 100644 --- a/templates/web/default/alert/list.html +++ b/templates/web/default/alert/list.html @@ -9,7 +9,7 @@ <h1>[% title %]</h1> -<form id="alerts" name="alerts" method="post" action=""> +<form id="alerts" name="alerts" method="post" action="/alert/subscribe"> <input type="hidden" name="type" value="local"> <input type="hidden" name="pc" value="[% pc | html %]"> @@ -35,7 +35,7 @@ </p> <p id="rss_local"> - <input type="radio" name="feed" id="[% rss_feed_id %]" value="[% rss_feed_id %]"> + <input type="radio" name="feed" id="[% rss_feed_id %]" value="[% rss_feed_id %]"[% IF rss_feed_id == selected_feed %] checked[% END %]> <label for="[% rss_feed_id %]">[% tprintf( loc('Problems within %.1fkm of this location'), population_radius ) %]</label> ([% loc('a default distance which covers roughly 200,000 people') %]) <a href='[% rss_feed_uri %]'> <img src='/i/feed.png' width='16' height='16' title='[% loc('RSS feed of nearby problems') %]' alt='[% loc('RSS feed') %]' border='0'></a> @@ -63,7 +63,7 @@ [% FOREACH option IN options %] <li> - <input type="radio" name="feed" id="[% option.id %]" value="[% option.id %]"> + <input type="radio" name="feed" id="[% option.id %]" value="[% option.id %]"[% IF option.id == selected_feed %] checked[% END %]> <label for="[% option.id %]">[% option.text %]</label> <a href="[% option.uri %]"><img src="/i/feed.png" width="16" height="16" title="[% option.rss_text %]" alt="RSS feed" border="0"></a> @@ -77,7 +77,7 @@ title="[% option.rss_text %]" alt="RSS feed" border="0"></a> <ul> [% FOREACH option IN reported_to_options %] <li> - <input type="radio" name="feed" id="[% option.id %]" value="[% option.id %]"> + <input type="radio" name="feed" id="[% option.id %]" value="[% option.id %]"[% IF option.id == selected_feed %] checked[% END %]> <label for="[% option.id %]">[% option.text %]</label> <a href="[% option.uri %]"><img src="/i/feed.png" width="16" height="16" title="[% option.rss_text %]" alt="RSS feed" border="0"></a> |