Sha256: fc4da949c1e4fa7ca387f98ce1cc8860d1a2bd47c123eb7c711ac4ff5c59e603

Contents?: true

Size: 1.01 KB

Versions: 7

Compression:

Stored size: 1.01 KB

Contents

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

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

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

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

<%= typus_block :resource => @resource[:self], :partial => :new_top %>

<% 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 %>

<%= typus_block :resource => @resource[:self], :partial => :new_bottom %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fesplugas-typus-0.9.0 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.1 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.2 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.3 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.4 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.5 app/views/admin/resources/new.html.erb
fesplugas-typus-0.9.6 app/views/admin/resources/new.html.erb