We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8388b7b commit 1949fd2Copy full SHA for 1949fd2
1 file changed
app/views/names/_workflow.html.erb
@@ -53,12 +53,15 @@
53
<h5 class="mt-2 text-info">Next step:</h5>
54
<ul>
55
<li>
56
- This name has not been claimed yet. You can
57
- <%= link_to(
58
- 'claim it now', claim_name_url(@name),
59
- method: :post,
60
- data: { confirm: 'Are you sure? This action cannot be undone' }
61
- ) %>.
+ This name has not been claimed yet.
+ <% if user_signed_in? %>
+ You can
+ <%= link_to(
+ 'claim it now', claim_name_url(@name),
+ method: :post,
62
+ data: { confirm: 'Are you sure? This action cannot be undone' }
63
+ ) %>.
64
+ <% end %>
65
</li>
66
</ul>
67
<% end %>
0 commit comments