Fix "Unpublish Article" button (#15162)

The malformed link ended up messing up HTML further down the page,
hiding the "Unpublish Article" button because the browser didn't parse
it as a separate element.
This commit is contained in:
Jamie Gaskins 2021-10-22 13:09:06 -04:00 committed by GitHub
parent 2b135ab8e3
commit 405f6a1f91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,8 +153,10 @@
<%= inline_svg_tag("checkmark.svg", aria: true, class: "crayons-icon", title: t("views.moderations.actions.checkmark")) %>
</button>
<% end %>
<a href="<%= URL.url %> community-moderation
<%= t("views.moderations.actions.how") %>>
<a href="<%= URL.url %>/community-moderation#how-to-rate-the-experience-level-of-a-post" target="_blank" rel="noopener">
<span class="how-this-works-section">
<%= t("views.moderations.actions.how") %>
</span>
</a>
</div>