We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
button_to
link_to ... method: :post
1 parent f79d274 commit dec354aCopy full SHA for dec354a
1 file changed
app/views/users/show.html.erb
@@ -52,7 +52,7 @@
52
<% else %>
53
<%= orcid_link(@user.profile) %>
54
<% if current_user == @user && !@user.profile.orcid_authenticated? %>
55
- <%= link_to t('orcid.authenticate'), orcid_authenticate_path, method: :post, class: 'btn btn-default' %>
+ <%= button_to t('orcid.authenticate'), orcid_authenticate_path, class: 'btn btn-default' %>
56
<% end %>
57
58
</p>
0 commit comments