- form_for @resource_page, :html => { :multipart => true } do |f|
	= error_messages_for :resource_page
	%p
		= f.label :name
		%br/
		= f.text_field :name
		
	%p
		= f.label :description
		%br/
		= f.text_area :description
	
	%p
		= f.label :publication_status
		%br/
		= f.select :publication_status, ResourcePage::publication_states.collect { |c| c }

	%h2 Attachments
	#attachments
		= render :partial => @resource_page.attached_files
	
	%p
		%strong Attach Files:
	#new-attachments-form
		= render :partial => 'attached_file_form'
			
	%p
		= link_to_function "Attach another file", "resourcePage.attachAnotherFile()"
	%p
		= f.submit
		
:javascript
	var resourcePage = resourcePage || {};
	resourcePage.attachAnotherFile = function() {
		var newDiv = new Element('div');
		newDiv.innerHTML = "#{render(:partial => 'attached_file_form').gsub('"', '\"').gsub("\n", "")}";
		$('new-attachments-form').insert(newDiv);
	}
- form_for @resource_page, :html => { :multipart => true } do |f|
	= error_messages_for :resource_page
	%p
		= f.label :name
		%br/
		= f.text_field :name
		
	%p
		= f.label :description
		%br/
		= f.text_area :description
	
	%p
		= f.label :publication_status
		%br/
		= f.select :publication_status, ResourcePage.publication_states.map {|s| s.to_s}

	%h2 Attachments
	#attachments
		= render :partial => @resource_page.attached_files
	
	%p
		%strong Attach Files:
	#new-attachments-form
		= render :partial => 'attached_file_form'
			
	%p
		= link_to_function "Attach another file", "resourcePage.attachAnotherFile()"
	%p
		= f.submit
		
:javascript
	var resourcePage = resourcePage || {};
	resourcePage.attachAnotherFile = function() {
		var newDiv = new Element('div');
		newDiv.innerHTML = "#{render(:partial => 'attached_file_form').gsub('"', '\"').gsub("\n", "")}";
		$('new-attachments-form').insert(newDiv);
	}
Update "publication status" dropdown for ResPages
Update "publication status" dropdown for ResPages

It was defaulting to "drafts" even when a user was editing an already-published resource page.