Sha256: b1a07b059bdf1a2feffbccb2cadc98d8c3bfeb188d9c7d0118453c5854bba641
Contents?: true
Size: 488 Bytes
Versions: 2
Compression:
Stored size: 488 Bytes
Contents
<% title = admin.t("titles.new", default: "New %{model_name}") %> <% content_for(:title, title) %> <% breadcrumb(title) %> <% content_for(:primary_toolbar) do %> <%= button_tag admin.t("buttons.save", default: "Save %{model_name}"), class: "btn btn-success btn-lg" if admin.actions.include?(:create) %> <% end %> <%= trestle_form_for instance, url: admin.path(:create), method: :post do |f| %> <%= render partial: "form", layout: dialog_request? ? "dialog" : "layout" %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trestle-0.8.9 | app/views/trestle/resource/new.html.erb |
trestle-0.8.8 | app/views/trestle/resource/new.html.erb |