Sha256: 1924be46b6e1def1ffa57242bb1f4e394ae3bfbd9229ddadb96a4d95a2a8ba11

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 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>

  <%= render 'new' %>

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typus-3.1.0.rc17 app/views/admin/resources/new.html.erb
typus-3.1.0.rc16 app/views/admin/resources/new.html.erb
typus-3.1.0.rc15 app/views/admin/resources/new.html.erb