fixed edit and new page of co-author
This commit is contained in:
		
							parent
							
								
									7a412d4e7e
								
							
						
					
					
						commit
						c59c772b55
					
				| 
						 | 
					@ -1,3 +1,3 @@
 | 
				
			||||||
<%= form_for @co_author_relation, html: { multipart: true ,"form-type"=>"ajax_form", "callback-method"=>"coAuthorformCallback"} , url: desktop_co_author_path(@co_author_relation) do |f| %>
 | 
					<%= form_for @co_author, html: { multipart: true ,"form-type"=>"ajax_form", "callback-method"=>"coAuthorformCallback"} , url: desktop_co_author_path(@co_author) do |f| %>
 | 
				
			||||||
  <%= render partial: 'desktop/co_authors/form', locals: {:f => f} %>
 | 
					  <%= render partial: 'desktop/co_authors/form', locals: {:f => f} %>
 | 
				
			||||||
<% end %>
 | 
					<% end %>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,3 @@
 | 
				
			||||||
<%= form_for @co_author, html: { multipart: true ,"form-type"=>"ajax_form", "callback-method"=>"coAuthorformCallback"} , url: desktop_co_authors_path do |f| %>
 | 
					<%= form_for @co_author, html: { multipart: true ,"form-type"=>"ajax_form", "callback-method"=>"coAuthorformCallback"} , url: desktop_co_authors_path do |f| %>
 | 
				
			||||||
  <%= render partial: 'desktop/co_author_relations/form', locals: {:f => f} %>
 | 
					  <%= render partial: 'desktop/co_authors/form', locals: {:f => f} %>
 | 
				
			||||||
<% end %>
 | 
					<% end %>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					require 'spec_helper'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					describe "Co-Author pages" do
 | 
				
			||||||
 | 
					  subject {co-author}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
		Reference in New Issue