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 %> › <%= link_to _(@resource[:class].human_name.pluralize), :action => 'index' %> › <%= _('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