diff options
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 2 | ||||
-rw-r--r-- | templates/web/default/alert/list.html | 2 |
2 files changed, 3 insertions, 1 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"; diff --git a/templates/web/default/alert/list.html b/templates/web/default/alert/list.html index 8c434daf6..40b94e9c0 100644 --- a/templates/web/default/alert/list.html +++ b/templates/web/default/alert/list.html @@ -13,7 +13,7 @@ <input type="hidden" name="type" value="local"> <input type="hidden" name="pc" value="[% pc | html %]"> - [%# FIXME cobrands and pics here %] + [% cobrand_form_elements %] [% IF photos %] <div id="alert_photos"> |