Sha256: 2cd06b1c7fe84dac51df621f2034cc85a5e4aa67b189da79ef7f1accff5d8860

Contents?: true

Size: 669 Bytes

Versions: 5

Compression:

Stored size: 669 Bytes

Contents

<%
  page_title = _("Edit %{resource}", :resource => @resource.model_name.human)
  title(page_title)
%>

<% content_for :sidebar, build_sidebar %>

<h2>
  <%= page_title %>
  <small></small>
</h2>

<%= display_link_to_previous %>
<%= display_flash_message %>
<%= typus_block %>

<%
  options = { :action => "update",
              :id => @item.id ,
              :back_to => params[:back_to],
              :resource => params[:resource],
              :resource_id => params[:resource_id] }
  button = _("Save %{resource}", :resource => @resource.model_name.human)
%>

<%= render form_partial, :options => options, :button => button %>

<%= raw typus_relationships %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typus-1.0.0.pre5 app/views/admin/resources/edit.html.erb
typus-1.0.0.pre4 app/views/admin/resources/edit.html.erb
typus-1.0.0.pre3 app/views/admin/resources/edit.html.erb
typus-1.0.0.pre2 app/views/admin/resources/edit.html.erb
typus-1.0.0.pre app/views/admin/resources/edit.html.erb