Sha256: 7ddf1a77a829727acb82718fd266046b1b8cd2cee1181be823ae9917a5e0c0d3

Contents?: true

Size: 787 Bytes

Versions: 1

Compression:

Stored size: 787 Bytes

Contents

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

<% content_for :sidebar do %>
  <% build_sidebar.present? ? build_sidebar : render("admin/templates/profile_sidebar") %>
<% end %>

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

<%= display_link_to_previous %>
<%= display_flash_message %>
<%= render 'edit' %>

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

<%= render :partial => 'form', :locals => { :options => options, :button => button } %>

<%= raw typus_relationships %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typus-3.0.4 app/views/admin/resources/edit.html.erb