aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Alert.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-12 11:08:05 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-12 11:08:05 +0100
commit629441ccda35f5956f01907d3c43a9a1847f5885 (patch)
treedd4b7f9cf32dea67bd6950a2904c24d930695aca /perllib/FixMyStreet/App/Controller/Alert.pm
parent3d22d7252e67df65b9bd7442b8363b212af15c87 (diff)
Add cobrand form elements to alert list page
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Alert.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm
index 38220faf8..d22cc710f 100644
--- a/perllib/FixMyStreet/App/Controller/Alert.pm
+++ b/perllib/FixMyStreet/App/Controller/Alert.pm
@@ -99,6 +99,8 @@ sub list : Path('list') : Args(0) {
$c->stash->{latitude},
$c->stash->{longitude}, $dist
);
+
+ $c->stash->{cobrand_form_elements} = $c->cobrand->form_elements('alerts');
#
# my $checked = '';
# $checked = ' checked' if $q->param('feed') && $q->param('feed') eq "local:$lat:$lon";