Skip to content

Commit 39f14a6

Browse files
committed
Update form widget template - SonarQube rule can be ignored for this template file
1 parent 9538251 commit 39f14a6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • website/modules/@apostrophecms/form-widget/views

website/modules/@apostrophecms/form-widget/views/widget.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
method="post"
2121
action="/api/v1/@apostrophecms/form/submit"
2222
>
23-
{% area form, 'contents' %} {% if recaptchaReady %} {# sonar-ignore-start #}
24-
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
25-
{# sonar-ignore-end #}
23+
{% area form, 'contents' %} {% if recaptchaReady %}
24+
<!-- prettier-ignore -->
25+
<script src="https://www.google.com/recaptcha/api.js" async defer><!-- NOSONAR --></script>
2626
<div
2727
class="g-recaptcha"
2828
data-sitekey="{{ recaptchaSite }}"

0 commit comments

Comments
 (0)