Skip to content

Commit

Permalink
"log in" looks like a link (publiclab#6403)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruchika06 authored and Vinit Shahdeo committed Feb 1, 2020
1 parent 6e94a93 commit 7199b31
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/views/notes/_comments.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@
<% if current_user %>
<%= render :partial => "comments/form", :locals => { title: I18n.t('notes._comments.post_comment'), comment: false, placeholder: I18n.t('notes._comments.post_placeholder') } %>
<% else %>
<p><a data-toggle="modal" data-target="#loginModal">
<%= translation('layout._header.login.login_title') %> </a> to comment.
</p>
<p><a href="#" data-toggle="modal" data-target="#loginModal">
<%= translation('layout._header.login.login_title') %> </a> to comment.
</p>
<% end %>

</div>

</div>
</div>

0 comments on commit 7199b31

Please sign in to comment.