Sha256: 5484fc99bb4ca4cf25056e90e61b92092d57b7a155dee250ee41c5d89cf584a6

Contents?: true

Size: 899 Bytes

Versions: 2

Compression:

Stored size: 899 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 %> &rsaquo; 
    <%= link_to _(@resource[:class].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

2 entries across 2 versions & 1 rubygems

Version Path
fesplugas-typus-0.9.7 app/views/admin/resources/edit.html.erb
fesplugas-typus-0.9.8 app/views/admin/resources/edit.html.erb