Sha256: 61f8ef1cc0e82ea315a3ba8ba160dbbd37464c360c71ebb3bd4864ef90f03558

Contents?: true

Size: 605 Bytes

Versions: 5

Compression:

Stored size: 605 Bytes

Contents

<%
  page_title = _("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 = _("Create %{resource}", :resource => @resource.model_name.human)
%>

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typus-1.0.0.pre5 app/views/admin/resources/new.html.erb
typus-1.0.0.pre4 app/views/admin/resources/new.html.erb
typus-1.0.0.pre3 app/views/admin/resources/new.html.erb
typus-1.0.0.pre2 app/views/admin/resources/new.html.erb
typus-1.0.0.pre app/views/admin/resources/new.html.erb