Sha256: 2ce9ef522b61b9def319acdf233866a1395b1bdc16418cffadb542f84f2f4368

Contents?: true

Size: 510 Bytes

Versions: 12

Compression:

Stored size: 510 Bytes

Contents

<%
  page_title = Typus::I18n.t("Add New %{resource}", :resource => @resource.model_name.human)
  title(page_title)
%>

<% content_for :main_grid do %>
  <h2>
    <%= page_title %>
    <small><%= list_actions %></small>
  </h2>

  <%= display_flash_message %>
  <%= render 'new' %>

  <% locals = { :options => params.dup.cleanup.merge(:action => 'create') } %>
  <%= render 'form', locals %>
<% end %>

<div class="grid_2">
  <%= build_sidebar %>
</div>

<div class="grid_8">
  <%= yield :main_grid %>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
typus-3.1.10 app/views/admin/resources/new.html.erb
typus-3.1.9 app/views/admin/resources/new.html.erb
typus-3.1.8 app/views/admin/resources/new.html.erb
typus-3.1.7 app/views/admin/resources/new.html.erb
typus-3.1.6 app/views/admin/resources/new.html.erb
typus-3.1.5 app/views/admin/resources/new.html.erb
typus-3.1.4 app/views/admin/resources/new.html.erb
typus-3.1.3 app/views/admin/resources/new.html.erb
typus-3.1.2 app/views/admin/resources/new.html.erb
typus-3.1.1 app/views/admin/resources/new.html.erb
typus-3.1.0 app/views/admin/resources/new.html.erb
typus-3.1.0.rc19 app/views/admin/resources/new.html.erb