Sha256: 66bbf2950fe5f1e227bd32a1e11abf07a484a51d07ee95c50bbfcc18d593f702

Contents?: true

Size: 607 Bytes

Versions: 3

Compression:

Stored size: 607 Bytes

Contents

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

<% content_for :sidebar, build_sidebar %>

<h2>
  <%= page_title %>
</h2>

<%= display_link_to_previous %>
<%= typus_block %>

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

<%= render form_partial, :options => options, :button => button %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typus-1.0.0.pre8 app/views/admin/resources/new.html.erb
typus-1.0.0.pre7 app/views/admin/resources/new.html.erb
typus-1.0.0.pre6 app/views/admin/resources/new.html.erb