From eeea97e7ef61c939a706cb1be87b28f2600e4e8c Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Thu, 12 May 2011 11:03:39 +0100 Subject: Add cobrand form elements to alert front page --- perllib/FixMyStreet/App/Controller/Alert.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm') diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm index 3a968ee1d..8b481b7cf 100644 --- a/perllib/FixMyStreet/App/Controller/Alert.pm +++ b/perllib/FixMyStreet/App/Controller/Alert.pm @@ -55,6 +55,8 @@ sub index : Path('') : Args(0) { # # my $cobrand_page = Page::template_include('alert-front-page', $q, Page::template_root($q), %vars); # $out = $cobrand_page if ($cobrand_page); + + $c->stash->{cobrand_form_elements} = $c->cobrand->form_elements('alerts'); # unless ( $c->req->referer && $c->req->referer =~ /fixmystreet\.com/ ) { $c->stash->{photos} = $c->cobrand->recent_photos(10); -- cgit v1.2.3