Sha256: 762e044c2de20e094dbcc4a03df3b63fdc0625c8745304b52830fb3a71f07715

Contents?: true

Size: 522 Bytes

Versions: 17

Compression:

Stored size: 522 Bytes

Contents

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

<% content_for :sidebar, build_sidebar %>

<h2>
  <%= page_title %>
  <small><%= list_actions %></small>
</h2>

<%= display_link_to_previous %>
<%= render 'new' %>

<%
  options = params.dup.cleanup.merge(:action => 'create')
  button = Typus::I18n.t("Create %{resource}", :resource => @resource.model_name.human)
%>

<%= render :partial => 'form', :locals => { :options => options, :button => button } %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
typus-3.0.12 app/views/admin/resources/new.html.erb
typus-3.0.11 app/views/admin/resources/new.html.erb
typus-3.0.11.rc5 app/views/admin/resources/new.html.erb
typus-3.0.11.rc4 app/views/admin/resources/new.html.erb
typus-3.0.11.rc3 app/views/admin/resources/new.html.erb
typus-3.1.0.rc4 app/views/admin/resources/new.html.erb
typus-3.1.0.rc3 app/views/admin/resources/new.html.erb
typus-3.1.0.rc2 app/views/admin/resources/new.html.erb
typus-3.0.11.rc2 app/views/admin/resources/new.html.erb
typus-3.0.11.rc1 app/views/admin/resources/new.html.erb
typus-3.1.0.rc1 app/views/admin/resources/new.html.erb
typus-3.0.10 app/views/admin/resources/new.html.erb
typus-3.0.9 app/views/admin/resources/new.html.erb
typus-3.0.8 app/views/admin/resources/new.html.erb
typus-3.0.7 app/views/admin/resources/new.html.erb
typus-3.0.6 app/views/admin/resources/new.html.erb
typus-3.0.5 app/views/admin/resources/new.html.erb