2024-07-16 20:22:59 +02:00
|
|
|
<h1><%%= t("scaffold.pagetitle_show", model: @<%= singular_table_name %>.class.model_name.human) %></h1>
|
|
|
|
|
|
|
|
|
|
<%%= render @<%= singular_table_name %> %>
|
|
|
|
|
|
|
|
|
|
<div class="action-row">
|
|
|
|
|
<%%= link_to t("scaffold.link_edit", model: @<%= singular_table_name %>.model_name.human), <%= edit_helper(type: :path) %> %>
|
|
|
|
|
<%%= link_to t("scaffold.link_index", model: @<%= singular_table_name %>.model_name.human(count: 2)), <%= index_helper(type: :path) %> %>
|
2024-07-19 02:29:18 +02:00
|
|
|
<%%= button_to t("scaffold.link_destroy", model: @<%= singular_table_name %>.model_name.human), <%= model_resource_name(prefix: "@") %>, method: :delete, class: "btn btn-outline-danger" %>
|
2024-07-16 20:22:59 +02:00
|
|
|
</div>
|