设计一个简单的登记表
用户在表单中填写他的电子邮件和密码。 提交表单后,用户会收到一封电子邮件,其中包含激活链接。 点击该链接后,他会看到一个表格,他可以在其中填写其余数据(登录名、性别、年龄等...),在他没有正确填写表格之前,他不是允许登录。
我怎样才能完成这个场景?
The user fills in the form his email and password.
After submiting the form, the user recieves an email, containing a activation link.
After clicking on that link, he comes to an form, where he can fill out the rest of his data (login, gender, age and so on...), before he does'nt correctly fills out the form, he is not allowed to log in.
How I can accomplish this scenario ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在截屏视频和截屏视频的文本版本中找到所需内容。第一个是 Introducing Devise,第二个是 Customizing Devise:
Introducing Devise
视频:http://railscasts.com/episodes/209-introducing-devise
文本:http://asciicasts.com/episodes/209-introducing-devise
自定义设计
视频:http://railscasts.com/episodes/210-customizing-devise
文本:http://asciicasts.com/episodes/210-customizing-devise
You may find what you are looking for in the screencasts and the text versions of the screencasts. The first one is Introducing Devise, and the second one is Customizing Devise:
Introducing Devise
Video: http://railscasts.com/episodes/209-introducing-devise
Text: http://asciicasts.com/episodes/209-introducing-devise
Customizing Devise
Video: http://railscasts.com/episodes/210-customizing-devise
Text: http://asciicasts.com/episodes/210-customizing-devise