<tr id="create-page-<%= @temp_id %>" class="create" style="display: none;">
  <td colspan="<%= num_columns %>">
    <%= form_remote_tag :url => { :controller => 'Page', :action => 'create' }, 
    			:loading => "AjaxScaffold.createOnLoading(request,'page',#{@temp_id});",
    			:success => "AjaxScaffold.createOnSuccess(request,'page',#{@temp_id});",
    			:complete => "AjaxScaffold.createOnComplete(request,'page',#{@temp_id});",
    			:failure => "AjaxScaffold.createOnFailure(request,'page',#{@temp_id});",
    			:html => { :id => "create-page-#{@temp_id}-form" } %>
      
      <div id="<%= "create-page-#{@temp_id}-errors" %>" style="display: none;" ></div>
      
      <div class="red">New Page</div>
      
      <div class="articles">
      
      <%= render :partial => 'form' %>
      
      <p>
      	<%= submit_tag "Create", :class => "submit" %>
      	<%= link_to_function "Cancel", "AjaxScaffold.createOnCancel('page',#{@temp_id});" %>
      	<%= loading_indicator_tag 'page', "create-#{@temp_id}" %>
    	</p>
    <%= end_form_tag %>
    </div>
  </td>
</tr>