diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-03-22 12:33:35 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-03-22 12:33:35 +0000 |
commit | 3cb31bca78023124e4526598e214b43b2e5b96a8 (patch) | |
tree | 506d0d7091b14ebaa084001a457d67832dd5ff38 | |
parent | 7b599e515dad9f74c27779434d91f775f485d1f0 (diff) |
clean up template
-rw-r--r-- | templates/web/default/reports/new/fill_in_details.html | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/templates/web/default/reports/new/fill_in_details.html b/templates/web/default/reports/new/fill_in_details.html index a87de6640..f0979439f 100644 --- a/templates/web/default/reports/new/fill_in_details.html +++ b/templates/web/default/reports/new/fill_in_details.html @@ -4,17 +4,6 @@ <h1>[% loc('Reporting a problem') %]</h1> - -<!-- my @councils = keys %council_ok; -my $details; -if (@councils == scalar keys %$all_councils) { - $details = 'all'; -} elsif (@councils == 0) { - $details = 'none'; -} else { - $details = 'some'; -} --> - [% IF area_ids_to_list.size == 0 %] [% INCLUDE 'reports/new/no_councils_text.html' %] <input type="hidden" name="council" value="-1"> @@ -23,10 +12,13 @@ if (@councils == scalar keys %$all_councils) { <input type="hidden" name="council" value="[% all_councils.keys.join(',') %]"> [% ELSE %] [% INCLUDE 'reports/new/some_councils_text.html' %] - <input type="hidden" name="council" value="[% area_ids_to_list.join(',') %]|[% missing.join(',') %]">'; - + <input type="hidden" name="council" value="[% area_ids_to_list.join(',') %]|[% missing.join(',') %]"> [% END %] + + + + <p>FORM</p> |