Sha256: 5cba7e8b352c7ec85261a44176c748358a09a7f75619e5d7e8bce8b9930e16d4
Contents?: true
Size: 889 Bytes
Versions: 2
Compression:
Stored size: 889 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 _('Dashboard'), admin_dashboard_path %> › <%= link_to _(@resource[:class].human_name.pluralize), :action => 'index' %> › <%= _('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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fesplugas-typus-0.9.7 | app/views/admin/resources/new.html.erb |
fesplugas-typus-0.9.8 | app/views/admin/resources/new.html.erb |