% content_for :html_head do %> <%= stylesheet_link_tag('cms/form_layout') %> <%= stylesheet_link_tag('cms/content_library') %> <% end %> <% page_title "Content Library / Add New #{content_type.display_name}" %> <% @toolbar_title = "Add New #{content_type.display_name}" %> <% content_for :functions, render(:partial => 'cms/blocks/toolbar') %> <% form_for(@block, :url => blocks_path, :html => {:multipart => true}) do |f| %> <%= f.error_messages %> <%= render :partial => 'cms/shared/exception', :object => @exception if @exception %> <%= render :partial => 'cms/blocks/hidden_fields', :locals => {:f => f} %> <%= render :partial => block_form, :locals => {:f => f} %> <% unless @hide_buttons %>
<% end %> <% end %>