<% content_for :title, "Coronavirus pages" %>

<h2 class="govuk-heading-s govuk-!-margin-bottom-2">Coronavirus landing page</h2>
<ul class="govuk-list">
  <li><%= link_to "Edit landing page accordions", coronavirus_page_path(slug: @topic_page.slug), class:"govuk-link" %></li>
  <li><%= link_to "Edit live stream URL", live_stream_index_path, class:"govuk-link" %></li>
  <li><%= link_to "Edit something else on the landing page", prepare_coronavirus_page_path(slug: @topic_page[:slug]), class:"govuk-link" %></li>
</ul>

<% @subtopic_pages.each do |page| %>
  <h2 class="govuk-heading-s govuk-!-margin-bottom-2"><%=page.name%></h2>
  <ul class="govuk-list">
    <li class="covid__spaced-list-item"><%= link_to "Edit #{page.name.downcase} accordions", coronavirus_page_path(slug: page.slug), class:"govuk-link" %></li>
    <li class="covid__spaced-list-item"><%= link_to "Edit something else on the #{page.name.downcase}", prepare_coronavirus_page_path(slug: page[:slug]), class:"govuk-link" %></li>
  </ul>
<% end %>

<% content_for :title, "Coronavirus pages" %>

<h2 class="govuk-heading-s govuk-!-margin-bottom-2">Coronavirus landing page</h2>
<ul class="govuk-list">
  <% if unreleased_feature_user? %>
    <li><%= link_to "Edit landing page accordions and announcements", coronavirus_page_path(slug: @topic_page.slug), class:"govuk-link" %></li>
  <% else %>
    <li><%= link_to "Edit landing page accordions", coronavirus_page_path(slug: @topic_page.slug), class:"govuk-link" %></li>
  <% end %>
  <li><%= link_to "Edit live stream URL", live_stream_index_path, class:"govuk-link" %></li>
  <li><%= link_to "Edit something else on the landing page", prepare_coronavirus_page_path(slug: @topic_page[:slug]), class:"govuk-link" %></li>
</ul>

<% @subtopic_pages.each do |page| %>
  <h2 class="govuk-heading-s govuk-!-margin-bottom-2"><%=page.name%></h2>
  <ul class="govuk-list">
    <li class="covid__spaced-list-item"><%= link_to "Edit #{page.name.downcase} accordions", coronavirus_page_path(slug: page.slug), class:"govuk-link" %></li>
    <li class="covid__spaced-list-item"><%= link_to "Edit something else on the #{page.name.downcase}", prepare_coronavirus_page_path(slug: page[:slug]), class:"govuk-link" %></li>
  </ul>
<% end %>

Update 'Edit landing page' link wording
Update 'Edit landing page' link wording

Updated link text as users will also be able to edit accordions at /coronavirus/landing

Co-authored-by: Rosa Fox <7730dfe70100dfd32d4a03b4b554258d5d0f44a0@digital.cabinet-office.gov.uk>
