Sha256: a957caa725c855a9ae67d90dbd4e2539f9f592922d7870dde8b238888471ad55

Contents?: true

Size: 671 Bytes

Versions: 3

Compression:

Stored size: 671 Bytes

Contents

<%
  page_title = _t("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 = _t("Save %{resource}", :resource => @resource.model_name.human)
%>

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

<%= raw typus_relationships %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typus-1.0.0.pre8 app/views/admin/resources/edit.html.erb
typus-1.0.0.pre7 app/views/admin/resources/edit.html.erb
typus-1.0.0.pre6 app/views/admin/resources/edit.html.erb