您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

auth.erb 281B

12345678
  1. <% if signed_in? %>
  2. <form class="auth" method="POST" action="/logout">
  3. <p class="auth__copy">
  4. Logged in as <span class="auth__username"><%= current_user %></span>
  5. </p>
  6. <input type="submit" class="auth__logout btn btn--small" value="Logout">
  7. </form>
  8. <% end %>