Sha256: 049bd08152f5345c1cdebf23a377fead8613e16749b03d1983f565ad52411b03

Contents?: true

Size: 835 Bytes

Versions: 26

Compression:

Stored size: 835 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;
    <%= _("Edit") %></h2>

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

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

<%= typus_relationships %>

Version data entries

26 entries across 26 versions & 2 rubygems

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