Sha256: ae20d0acf683642883c5071e79021c5175182a4a61819c099ac04e24b811be28

Contents?: true

Size: 814 Bytes

Versions: 4

Compression:

Stored size: 814 Bytes

Contents

<% content_for :sidebar do %>
  <%= typus_block :location => @resource[:self], :partial => 'sidebar' %>
  <%= actions %>
<% end %>

<%= display_link_to_previous if params[:back_to] %>

<h2><%= link_to @resource[:human_name].pluralize, :action => 'index' %> &rsaquo; 
    <%= _("New") %></h2>

<%= typus_block :location => @resource[:self], :partial => 'new' %>

<% form_for @item, 
            :url  => { :action => 'create', 
                       :back_to => params[:back_to], 
                       :selected => params[:selected], 
                       :resource => params[:resource], 
                       :resource_id => params[:resource_id] }, 
            :html => { :multipart => true } do |f| %>
  <%= build_form(@fields) %>
  <p><%= submit_tag _("Create entry"), :class => 'button' %></p>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typus-0.9.39 app/views/admin/resources/new.html.erb
typus-0.9.38 app/views/admin/resources/new.html.erb
typus-0.9.37 app/views/admin/resources/new.html.erb
typus-0.9.36 app/views/admin/resources/new.html.erb