<tr id="<%= "edit-page-#{@page.id}" %>" class="edit" style="display: none;">
	<td colspan="<%= num_columns %>">
		<%= form_remote_tag :url => { :controller => 'Page', :action => 'update', :id => @page },
  		:loading => "AjaxScaffold.updateOnLoading(request,'page',#{@page.id});", 
			:success => "AjaxScaffold.updateOnSuccess(request,'page',#{@page.id});", 
			:failure => "AjaxScaffold.updateOnFailure(request,'page',#{@page.id});", 
			:complete => "AjaxScaffold.updateOnComplete(request,'page',#{@page.id});", 
			:html => { :id => "edit-page-#{@page.id}-form" } %>
			
	<div id="<%= "update-page-#{@page.id}-errors" %>" style="display: none;" ></div>
	
  	<div class="red">Edit Page</div>
  	
  	<div class="articles">
  	<%= render :partial => 'form' %>
  	
  	<p>
  		<%= submit_tag "Update", :class => "submit" %>
  		<%= link_to_function "Cancel", "AjaxScaffold.updateOnCancel('page',#{@page.id});" %>
  		<%= loading_indicator_tag 'page', "update-#{@page.id}" %>
  	</p>
  	<%= end_form_tag %>
  	</div>
	</td>
</tr>