Sha256: fd90348e00db682b426ef4070b5748334607ede71c7b660f628226931883ac43

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

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

<% content_for(:title, title) %>
<% breadcrumb(title) %>

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

<%= resource_turbo_frame(instance) do %>
  <%= trestle_form_for instance, url: admin.path(:create), method: :post 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/new.html.erb