Sha256: de253b71687f2e6762d0cfb20da68e0507ec2502dab99bdc29ecd3fdea2dd5c5

Contents?: true

Size: 531 Bytes

Versions: 6

Compression:

Stored size: 531 Bytes

Contents

<% title = admin.t("titles.edit", default: "Editing %{model_name}") %>

<% content_for(:title, title) %>
<% breadcrumb(title) unless admin.singular? %>

<% toolbar(:primary) do |t| %>
  <%= t.save_or_dismiss(:update) %>
<% end %>

<% toolbar(:secondary) do |t| %>
  <%= t.delete %>
<% end %>

<%= trestle_form_for instance, url: admin.actions.include?(:update) ? admin.instance_path(instance, action: :update) : "#", method: :patch do |f| %>
  <%= render partial: "form", layout: dialog_request? ? "dialog" : "layout" %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trestle-0.9.8 app/views/trestle/resource/show.html.erb
trestle-0.9.7 app/views/trestle/resource/show.html.erb
trestle-0.9.6 app/views/trestle/resource/show.html.erb
trestle-0.9.5 app/views/trestle/resource/show.html.erb
trestle-0.9.4 app/views/trestle/resource/show.html.erb
trestle-0.9.3 app/views/trestle/resource/show.html.erb