diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-12 11:08:05 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-12 11:08:05 +0100 |
commit | 629441ccda35f5956f01907d3c43a9a1847f5885 (patch) | |
tree | dd4b7f9cf32dea67bd6950a2904c24d930695aca /perllib/FixMyStreet/App/Controller/Alert.pm | |
parent | 3d22d7252e67df65b9bd7442b8363b212af15c87 (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.pm | 2 |
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"; |