Sha256: d93b44a2eba581855fe26807bb23e00a774bb8763ecde7988d74ef1021781c42

Contents?: true

Size: 526 Bytes

Versions: 2

Compression:

Stored size: 526 Bytes

Contents

<%
  page_title = Typus::I18n.t("Add 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

2 entries across 2 versions & 1 rubygems

Version Path
typus-3.1.0.rc6 app/views/admin/resources/new.html.erb
typus-3.1.0.rc5 app/views/admin/resources/new.html.erb