Sha256: 3b3eb84a490f1844e037d368a5412ebaf65e5fa12d82ea2ca6ebadddb55124bb
Contents?: true
Size: 800 Bytes
Versions: 8
Compression:
Stored size: 800 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> <% if flash[:notice] && headless_mode? %> <script> $(document).ready(function() { parent.location.reload(); }); </script> <% end %> <%= 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 unless headless_mode? %>
Version data entries
8 entries across 8 versions & 1 rubygems