Sha256: 3c8c819616541efa68031c8a85eec05a73e778745282fe42c72dd9177841c4e3
Contents?: true
Size: 1.39 KB
Versions: 14
Compression:
Stored size: 1.39 KB
Contents
<%= content_for :html_head do %> <%= stylesheet_link_tag('cms/form_layout') %> <%= stylesheet_link_tag('cms/content_library') %> <% end %> <% page_title "Content Library / Edit #{content_type.display_name}" %> <% @toolbar_title = "Edit #{content_type.display_name} '#{@block.name}'" %> <%= content_for :functions, render(:partial => 'cms/blocks/toolbar') %> <% if @block.respond_to?(:deleted) && @block.deleted %> <div class="header">This <%= @block.class.name %> has been deleted.</div> <% else %> <%= form_for(@block, :url => block_path(@block), :html => {:multipart => true}) do |f| %> <%= f.cms_error_messages %> <%= render :partial => 'cms/shared/exception', :object => @exception if @exception %> <% if @other_version %> <%= render :partial => 'cms/shared/version_conflict_error', :locals => {:other_version => @other_version, :your_version => @block} %> <% end %> <%= render :partial => 'cms/blocks/hidden_fields', :locals => { :f => f } %> <%= render :partial => block_form, :locals => {:f => f} %> <% if @other_version %> <%= render :partial => "cms/shared/version_conflict_diff", :locals => {:other_version => @other_version, :your_version => @block} %> <% end %> <div class="buttons"> <%= save_and_publish_button(@block, content_type) %> <%= lt_button_wrapper(f.submit("Save", :class => "submit", :tabindex => next_tabindex)) %> </div> <% end %> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems