Sha256: 8b1adf489648d8ad8fbf6afbf573e9bcbe27245648f37ecfec90da6db93ba943

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 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 %>
</h2>

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

<%
  options = { :action => 'create',
              :back_to => params[:back_to],
              :selected => params[:selected],
              :resource => params[:resource],
              :resource_id => params[:resource_id] }
  button = Typus::I18n.t("Create %{resource}", :resource => @resource.model_name.human)
%>

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typus-3.0.4 app/views/admin/resources/new.html.erb