diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-03-09 15:50:49 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-03-09 15:50:49 +0000 |
commit | de1a7efcf4b33e60829e7c5a946bc82632247a28 (patch) | |
tree | 554e06fa5eda9031ccc0824acaa7e3169e658308 /perllib/FixMyStreet/Cobrand/Default.pm | |
parent | f23470ddccfdf1db6604c99c58a3803fd5ccab4c (diff) | |
parent | a5636fc2acd3e03b853f3644fedc054e3eb8b905 (diff) |
Merge remote-tracking branch 'origin/1291-extra_fields'
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index e7a4dad72..b3b830f06 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -754,7 +754,18 @@ If set to an arrayref, will plot those area ID(s) from mapit on all the /around sub areas_on_around { []; } -sub process_extras {} +=head2 + +A list of extra fields we wish to save to the database in the 'extra' column of +problems based on variables passed in by the form. Return a list of hashrefs +of values we wish to save, e.g. +( { name => 'address', required => 1 }, { name => 'passport', required => 0 } ) + +=cut + +sub report_form_extras {} + +sub process_open311_extras {} =head 2 pin_colour |