Sha256: 200798c25938b526329da5ee92759e810c1d6023841d57c79121257ce1cfee52
Contents?: true
Size: 647 Bytes
Versions: 3
Compression:
Stored size: 647 Bytes
Contents
<% title = admin.t("titles.edit", default: "Editing %{model_name}") %> <% content_for(:title, title) %> <% breadcrumb(title) %> <% toolbar(:primary) do |t| %> <%= t.save_or_dismiss(:update) %> <%= hook("edit.toolbar.primary", t) %> <% end %> <% toolbar(:secondary) do |t| %> <%= t.delete %> <%= hook("edit.toolbar.secondary", t) %> <% end %> <%= resource_turbo_frame(instance) do %> <%= trestle_form_for instance, url: admin.actions.include?(:update) ? admin.instance_path(instance, action: :update) : "#", method: :patch do |f| %> <%= render partial: "form", layout: modal_request? ? "modal" : "layout" %> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
trestle-0.10.1 | app/views/trestle/resource/edit.html.erb |
trestle-0.10.0 | app/views/trestle/resource/edit.html.erb |
trestle-0.10.0.pre2 | app/views/trestle/resource/edit.html.erb |