diff options
Diffstat (limited to 'templates/web/base/report/_inspect.html')
-rw-r--r-- | templates/web/base/report/_inspect.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/web/base/report/_inspect.html b/templates/web/base/report/_inspect.html index 5a7e99ef9..625887eff 100644 --- a/templates/web/base/report/_inspect.html +++ b/templates/web/base/report/_inspect.html @@ -62,6 +62,18 @@ [% END %] [% IF permissions.report_inspect %] + [% IF c.cobrand.defect_types %] + <p> + <label for="defect_type">[% loc('Defect type') %]</label> + [% defect_type = problem.get_extra_metadata('defect_type') %] + <select id="defect_type" name="defect_type" class="form-control"> + <option value=""[% ' selected' IF NOT defect_type %]>-</option> + [% FOREACH dt IN c.cobrand.defect_types.pairs %] + <option[% ' selected' IF defect_type == dt.key %] value="[% dt.key | html %]">[% dt.value | html %]</option> + [% END %] + </select> + </p> + [% END %] <p> <label for="state">[% loc('State') %]</label> [% INCLUDE 'report/inspect/state_groups_select.html' %] @@ -127,7 +139,7 @@ [% IF permissions.report_inspect %] <p> <label class="label-containing-checkbox"> - <input type="checkbox" name="save_inspected" value="1" class="js-toggle-public-update" checked> + <input type="checkbox" name="include_update" value="1" class="js-toggle-public-update" checked> [% loc('Save with a public update') %] </label> </p> |