diff --git a/app/views/admin/theses/show.html.erb b/app/views/admin/theses/show.html.erb
index 01f35a2c..726528ec 100644
--- a/app/views/admin/theses/show.html.erb
+++ b/app/views/admin/theses/show.html.erb
@@ -16,7 +16,7 @@ as well as a link to its edit page.
[1]: http://www.rubydoc.info/gems/administrate/Administrate/Page/Show
%>
-<% content_for(:title) { t("administrate.actions.show_resource", name: page.resource.title) } %>
+<% content_for(:title) { t("administrate.actions.show_resource", name: page.page_title) } %>
<% content_for(:custom_stylesheets) { stylesheet_link_tag "administrate" } %>
@@ -24,18 +24,21 @@ as well as a link to its edit page.
<%= content_for(:title) %>
+ <%= content_for(:header_middle) %>
+
<%= link_to(
- t("administrate.actions.edit_resource", name: page.resource.title),
+ t("administrate.actions.edit_resource", name: page.page_title),
[:edit, namespace, page.resource],
class: "button",
) if accessible_action?(page.resource, :edit) %>
- <%= link_to(
+
+ <%= button_to(
t("administrate.actions.destroy"),
[namespace, page.resource],
class: "button button--danger",
method: :delete,
- data: { confirm: t("administrate.actions.confirm") }
+ data: { turbo_confirm: t("administrate.actions.confirm") }
) if accessible_action?(page.resource, :destroy) %>
<%= link_to(
t("administrate.actions.new_resource", name: 'hold'),
@@ -43,28 +46,39 @@ as well as a link to its edit page.
class: "button",
) if accessible_action?('hold', :new) %>
+
+ <%= content_for(:header_last) %>
-
-
- <% page.attributes.each do |title, attributes| %>
-
- <% end %>
-