[% FOR meta IN metas.merge([{}]) %]
  • [% loc('The ordering of this field on the report page. Fields are shown in ascending order according to this value.') %]

    [% loc('Whether the field is displayed to the user, included as a hidden field and automatically populated, or set by the server upon Open311 submission. This field is usually set automatically.') %]

    [% loc('The code used to store this field value in the database. e.g. address would be available as problem.extra.address in the templates.') %]

    [% loc('Whether the user is required to provide a value for this field.') %]

    [% loc('If ticked the user won’t see an input field, just the ‘Description’ text.') %]

    [% loc('The field name as shown to the user on the report form.') %]

    [% loc('Can be used to display extra text to the user alongside the field. The default template does not show this (meta.datatype_description), you must add it in category_extras_fields.html') %]

    [% loc('The type of input field to show to the user. Text is a simple text field, List is a drop-down selection.') %]

    [% loc('For each option, Key is the value which is stored in the database for that option and Name is the value displayed to the user.') %]

    [% loc('Options') %] [% loc('(ignored if type is "String")') %]
      [% outer_loop = loop %] [% values = meta.values OR [] %] [% FOREACH option IN values.merge([{}]) %] [%# the .merge() call is so there's an empty one on the end %]
    • [% END %]
  • [%- END %]