LoginSignup
ppppittypure
@ppppittypure

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

ログインができなくなった

Q&A

解決したいこと

devise ビュー変更したらログインができなくなった

Ruby on RailsでさけのわのようなWebアプリをつくっています。
記事を投稿する機能の実装中にターミナルは正常なのに画面遷移しなくなってしまい困っています
解決方法を教えて下さい。

発生している問題・エラー

ログインしてトップ画面に遷移しない

<%= stylesheet_link_tag "rankingsnew", "data-turbo-track": "reload" %>

<h2>Log in</h2>
<%= form_with model: @user, url: user_session_path, id: "new_user", class: "new_user", local: true do |f| %>
  <div class="field">
    <%= f.label :email %><br />
    <%= f.email_field :email, autofocus: true, placeholder: "email" %>
  </div>

  <div class="field">
    <%=f.label :password %><br />
    <%= f.password_field :password, autocomplete: "off", placeholder: "password" %>
  </div>

  

  <div class="actions">
    <%= f.submit "ログイン" %>
  </div>
<% end %>

自分で試したこと

stylesheetを直接記入したせいなのかと専用CSSを作ったが×

https://qiita.com/yusuke1209kitamura/items/dcaf3622c21cf08ebdba
も関係なし

0

No Answers yet.

Your answer might help someone💌