Skip to content

Commit

Permalink
Added login modal (#4319)
Browse files Browse the repository at this point in the history
  • Loading branch information
eli6 authored and grvsachdeva committed Dec 16, 2018
1 parent 4a31189 commit f778b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/questions/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<%= render :partial => "comments/form", :locals => { title: "Post Comment", comment: false, placeholder: "Help the author refine their post, or point them at other helpful information on the site. Mention users by @username to notify them of this thread by email", type: "question" } %>
</div>
<% else %>
<p><%= link_to "Log in", new_user_session_path( return_to: request.path )%> to comment</p>
<p><a data-toggle="modal" data-target="#loginModal">Log in</a> to comment</p>
<% end %>
</div>
</div>
Expand Down

0 comments on commit f778b54

Please sign in to comment.