use 'me' instead of 'user' consistently
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<% render("views.common.topnav", {user = user}) -%>
|
||||
<% render("views.common.topnav") -%>
|
||||
<main>
|
||||
<nav id="threadnav">
|
||||
<h1 class="thread-title"><%= thread.title %></h1>
|
||||
@ -13,7 +13,7 @@
|
||||
<% render("views.common.pagination", {page_count = pages, current_page = page}) %>
|
||||
</nav>
|
||||
|
||||
<% if not user:is_guest() then %>
|
||||
<% if not me:is_guest() then %>
|
||||
<h1>Respond to "<%= thread.title %>"</h1>
|
||||
<form method="post">
|
||||
<textarea id="post_content" name="post_content" placeholder="Response body" required></textarea><br>
|
||||
|
Reference in New Issue
Block a user