Sha256: 3870e344bc0e3415dcbe55f45e6e8412ab9820555f2e2b1948fafbfda886fc37

Contents?: true

Size: 669 Bytes

Versions: 15

Compression:

Stored size: 669 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 %>
  <small><%= list_actions %></small>
</h2>

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

<%
  options = params.dup.cleanup.merge!(:action => 'update')
  button = Typus::I18n.t("Save %{resource}", :resource => @resource.model_name.human)
%>

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

<%= typus_relationships %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
typus-3.0.12 app/views/admin/resources/edit.html.erb
typus-3.0.11 app/views/admin/resources/edit.html.erb
typus-3.0.11.rc5 app/views/admin/resources/edit.html.erb
typus-3.0.11.rc4 app/views/admin/resources/edit.html.erb
typus-3.0.11.rc3 app/views/admin/resources/edit.html.erb
typus-3.1.0.rc6 app/views/admin/resources/edit.html.erb
typus-3.1.0.rc5 app/views/admin/resources/edit.html.erb
typus-3.1.0.rc4 app/views/admin/resources/edit.html.erb
typus-3.1.0.rc3 app/views/admin/resources/edit.html.erb
typus-3.1.0.rc2 app/views/admin/resources/edit.html.erb
typus-3.0.11.rc2 app/views/admin/resources/edit.html.erb
typus-3.0.11.rc1 app/views/admin/resources/edit.html.erb
typus-3.1.0.rc1 app/views/admin/resources/edit.html.erb
typus-3.0.10 app/views/admin/resources/edit.html.erb
typus-3.0.9 app/views/admin/resources/edit.html.erb