Sha256: 8d9acd541359245eaee0e9359ae6b49f4807c141863a3e3ef6f35a04a950f05c

Contents?: true

Size: 1.03 KB

Versions: 7

Compression:

Stored size: 1.03 KB

Contents

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

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

<%= 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; 
    <%= _('Edit') %></h2>

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

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

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