<% set_meta_tags(title:       article.title,
                 description: article.description,
                 canonical:   article.canonical_url,
                 alternate:   article.alternate_options) %>

<% content_for(:context_bar) do %>
  <% if @breadcrumbs.present? %>
    <%= render 'shared/breadcrumbs', breadcrumbs: @breadcrumbs %>
  <% elsif article.categories.present? %>
    <%= render 'shared/related_categories', categories: article.categories %>
  <% end %>
<% end %>

<div class="l-main editorial">
  <div class="l-main__row">
    <main class="l-main__cell-single" role="main">
      <%= heading_tag article.title %>
      <%= article.content %>

      <%= render 'shared/related_links', article: @article, categories: related_content %>

      <%= render 'shared/feedback_panel', article: @article %>

    </main>
  </div>
</div>

<div class="l-nav">
  <%= render 'shared/nav',
             categories:        category_navigation,
             active_categories: active_categories
  %>
</div>

<% content_for(:alternate_link) do %>
  <% article.footer_alternate_options.each do |locale, url| %>
    <%= link_to(url, id: "#{locale}Link", lang: locale, class: 'footer-secondary__link') do %>
      <span class="icon icon--globe"></span>
      <%= t("locales.#{locale}") %>
    <% end %>
  <% end %>
<% end %>

<% set_meta_tags(title:       article.title,
                 description: article.description,
                 canonical:   article.canonical_url,
                 alternate:   article.alternate_options) %>

<% content_for(:context_bar) do %>
  <% if @breadcrumbs.present? %>
    <%= render 'shared/breadcrumbs', breadcrumbs: @breadcrumbs %>
  <% elsif article.categories.present? %>
    <%= render 'shared/related_categories', categories: article.categories %>
  <% end %>
<% end %>

<div class="l-main editorial">
  <div class="l-main__row">
    <main class="l-main__cell-single" role="main">
      <%= heading_tag article.title %>
      <%= article.content %>

      <%= render 'shared/related_links', article: @article, categories: related_content %>

      <% if Feature.active?(:feedback) %>
        <%= render 'shared/feedback_panel', article: article %>
      <% end %>

    </main>
  </div>
</div>

<div class="l-nav">
  <%= render 'shared/nav',
             categories:        category_navigation,
             active_categories: active_categories
  %>
</div>

<% content_for(:alternate_link) do %>
  <% article.footer_alternate_options.each do |locale, url| %>
    <%= link_to(url, id: "#{locale}Link", lang: locale, class: 'footer-secondary__link') do %>
      <span class="icon icon--globe"></span>
      <%= t("locales.#{locale}") %>
    <% end %>
  <% end %>
<% end %>

Put the feedback panel on articles behind a feature toggle.
Put the feedback panel on articles behind a feature toggle.
