This way changing it will be easier. Note we're changing the name of the HTML class to follow our naming conventions; the `edit_page` class wasn't used anywhere, so we don't need to change anything else.
15 lines
392 B
Plaintext
15 lines
392 B
Plaintext
<% provide :main_class, "admin-site-customization-pages-edit" %>
|
|
<%= back_link_to admin_site_customization_pages_path %>
|
|
|
|
<%= header do %>
|
|
<%= render Admin::ActionComponent.new(
|
|
:destroy,
|
|
page,
|
|
text: t("admin.site_customization.pages.index.delete"),
|
|
confirm: true,
|
|
class: "delete"
|
|
) %>
|
|
<% end %>
|
|
|
|
<%= render Admin::SiteCustomization::Pages::FormComponent.new(page) %>
|