Sha256: 3e994c1878380cc711645a12097517f4c2cc57b8632760163f29f3cdaadf2412

Contents?: true

Size: 510 Bytes

Versions: 3

Compression:

Stored size: 510 Bytes

Contents

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

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

<% content_for(:primary_toolbar) do %>
  <%= button_tag t("admin.buttons.save", default: "Save %{model_name}", model_name: admin.model_name), class: "btn btn-success btn-lg" %>
<% end %>

<%= trestle_form_for instance, url: admin.path do |f| %>
  <%= render partial: "form", layout: "layout" %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trestle-0.8.3 app/views/trestle/resource/new.html.erb
trestle-0.8.2 app/views/trestle/resource/new.html.erb
trestle-0.8.0 app/views/trestle/resource/new.html.erb