Skip to content

Commit

Permalink
feat: anonymous users can vote to robotoff questions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel committed Sep 21, 2022
1 parent cebba52 commit d3e8d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/web/pages/product/product_page.tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<p><a href="[% public_product_url %]">[% lang("product_page_on_the_public_database") %]</a></p>
[% END %]

[% IF (user_id.defined) && (robotoff_url.defined) && (robotoff_url.length > 0) %]
[% IF (robotoff_url.defined) && (robotoff_url.length > 0) %]
<robotoff-asker url='[% robotoff_url %]' code='[% code %]' lang='[% lc %]' style='display: none;' caption-yes='[% lang("button_caption_yes") %]' caption-no='[% lang("button_caption_no") %]' caption-skip='[% lang("button_caption_skip") %]'></robotoff-asker>
[% END %]

Expand Down

0 comments on commit d3e8d01

Please sign in to comment.