AlchemyCMS/alchemy_cms

View on GitHub
app/views/alchemy/admin/pages/_legacy_urls.html.erb

Summary

Maintainability
Test Coverage
<%= render_message do %>
  <p><%== Alchemy.t(:legacy_url_info_text) %></p>
<% end %>

<%= turbo_frame_tag("legacy_page_urls") do %>
  <%= render "alchemy/admin/legacy_page_urls/table", legacy_page_urls: @page.legacy_urls %>
<% end %>

<fieldset>
  <legend><%= Alchemy.t('Add page link') %></legend>
  <%= render 'alchemy/admin/legacy_page_urls/new', legacy_page_url: @page.legacy_urls.build %>
</fieldset>