form for coauthor - fixed
This commit is contained in:
1 parent
0affc73370
commit
0e6c75e677
3 files changed
+27
-2
No files matched your search
@@ -1,4 +1,4 @@
|
||||
<%= form_for(@new_relation , url: desktop_co_author_relations_path ) do |f| %>
|
||||
<%= form_for(@new_relation , url: desktop_co_author_relations_path, html:{"form-type"=>"ajax_form", "callback-method"=>"coauthorRelationForm"} ) do |f| %>
|
||||
<%= f.text_field :relation %>
|
||||
<%= f.submit "Save" %>
|
||||
<% end %>
|
||||
@@ -1,5 +1,5 @@
|
||||
<h1>list all coauthor</h1>
|
||||
<%= link_to "New Co-Author", new_desktop_co_author_path %>
|
||||
<%= link_to "New Co-Author", new_desktop_co_author_path, :class=>"bt-co-author" %>
|
||||
<%= link_to "New Type", desktop_co_author_relations_path, :class=>"bt-new-type" %>
|
||||
<table>
|
||||
<tr>
|
||||
|
||||
Reference in new issue
Block a user