Sha256: f1683b14dddbf268893bfbf73860426e4e48214e107296e31fc402954bf72b30
Contents?: true
Size: 563 Bytes
Versions: 1
Compression:
Stored size: 563 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) %> <% end %> <% toolbar(:secondary) do |t| %> <%= t.delete %> <% 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trestle-0.10.0.pre | app/views/trestle/resource/edit.html.erb |