Sha256: 031e5c9f6211e8ef2361499a3f1b65dcd014f5e88ce4bb079e709e58749d82df

Contents?: true

Size: 826 Bytes

Versions: 27

Compression:

Stored size: 826 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[:class].typus_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

27 entries across 27 versions & 2 rubygems

Version Path
fesplugas-typus-0.9.10 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.11 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.12 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.13 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.14 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.15 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.16 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.17 app/views/admin/resources/new.html.erb
typus-0.9.35 app/views/admin/resources/new.html.erb
typus-0.9.34 app/views/admin/resources/new.html.erb
typus-0.9.33 app/views/admin/resources/new.html.erb
typus-0.9.32 app/views/admin/resources/new.html.erb
typus-0.9.31 app/views/admin/resources/new.html.erb
typus-0.9.30 app/views/admin/resources/new.html.erb
typus-0.9.29 app/views/admin/resources/new.html.erb
typus-0.9.28 app/views/admin/resources/new.html.erb
typus-0.9.27 app/views/admin/resources/new.html.erb
typus-0.9.26 app/views/admin/resources/new.html.erb
typus-0.9.25 app/views/admin/resources/new.html.erb
typus-0.9.24 app/views/admin/resources/new.html.erb