设计。注册和登录在同一页 [英] Devise. Registration and Login at the same page
问题描述
我正在尝试将Devise整合到我的应用程序中。我需要在页面顶部的实现登录表单(我已经将此表单实现到布局页面),并且已经实现了包含注册表单的注册。
但是当我尝试提交不正确的注册数据时,它会显示两种表单的验证错误。
I'm trying to integrate Devise into my application. I need implement login form at top of the page (I've implemented this form into layout page) and I've implemented registration which contains registration form. But it shows validation errors for both form when I tried submit incorrect registration data.
推荐答案
没有更多的信息,很难猜到问题是什么。我发现维基页面真的有帮助(越来越多),尽管你可能已经看过:
Without more information, it's hard to guess what the problem is. I've found the Wiki pages to be really helpful (and increasingly so), though you may have already looked them over:
两页可能与您的需求有关:
Two pages that might be relevant to your needs:
希望这有帮助!
- ff
这篇关于设计。注册和登录在同一页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!