diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-07-15 14:22:51 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-08-16 12:04:28 +0100 |
commit | 48156c475483e6e603bef436abf19f79a2bc277c (patch) | |
tree | d78076d23e073d9586719ce2fdb1d4a282703f61 /templates/web/base/report/update-form-wrapper.html | |
parent | c0c59b1304c8d6dcd8057d8314092f98d20cde59 (diff) |
Add type=button to non-submit buttons.
Diffstat (limited to 'templates/web/base/report/update-form-wrapper.html')
-rw-r--r-- | templates/web/base/report/update-form-wrapper.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/update-form-wrapper.html b/templates/web/base/report/update-form-wrapper.html index 3a75036cc..5347df3c3 100644 --- a/templates/web/base/report/update-form-wrapper.html +++ b/templates/web/base/report/update-form-wrapper.html @@ -1,6 +1,6 @@ [% UNLESS c.cobrand.updates_disallowed(problem) %] [% IF two_column_sidebar %] - <button class="btn btn--provide-update js-provide-update hidden-nojs">[% loc('Provide an update') %]</button> + <button type="button" class="btn btn--provide-update js-provide-update hidden-nojs">[% loc('Provide an update') %]</button> <div class="hidden-js"> [% END %] [% INCLUDE 'report/update-form.html' %] |