设计一个简单的登记表

发布于 2024-09-27 09:23:12 字数 140 浏览 0 评论 0原文

用户在表单中填写他的电子邮件和密码。 提交表单后,用户会收到一封电子邮件,其中包含激活链接。 点击该链接后,他会看到一个表格,他可以在其中填写其余数据(登录名、性别、年龄等...),在他没有正确填写表格之前,他不是允许登录。

我怎样才能完成这个场景?

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

凉城已无爱 2024-10-04 09:23:13

您可以在截屏视频和截屏视频的文本版本中找到所需内容。第一个是 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文