Skip to content

Commit d5ccc85

Browse files
committed
Update coauthors.html.erb
1 parent cf888c5 commit d5ccc85

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

app/views/registers/coauthors.html.erb

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
<% author = rc.user %>
2323
<%= display_link(author) %>
2424
<%= link_to(
25-
coauthors_register_url(
26-
@register, action: :unlink,
27-
register: { coauthor: author.username }),
25+
coauthors_register_url(@register, {
26+
action: :unlink,
27+
register: { coauthor: author.username }
28+
}),
2829
class: 'badge badge-pill badge-primary',
2930
method: :post, title: 'Unlink coauthor',
3031
data: { confirm: 'Are you sure?' }
@@ -33,9 +34,10 @@
3334
<% end %>
3435
<% unless rc.first? %>
3536
<%= link_to(
36-
coauthors_register_url(
37-
@register, action: :up,
38-
register: { coauthor: author.username }),
37+
coauthors_register_url(@register, {
38+
action: :up,
39+
register: { coauthor: author.username }
40+
}),
3941
class: 'badge badge-pill badge-primary',
4042
method: :post, title: 'Move coauthor up'
4143
) do %>

0 commit comments

Comments
 (0)