LoginSignup
17
18

More than 5 years have passed since last update.

Rails で Form をウィザード化する例

Posted at

課題

Railscast に
- http://railscasts.com/episodes/346-wizard-forms-with-wicked?language=ja&view=asciicast
# 346 Wizard Forms with Wicked (日本語訳)

として Rails で ウィザード形式の画面を作る例の記事があります。
これを Rails4 で作りなおしてみました。

例 その1

例 その2

また、この ralscast ページのコメント欄
- http://railscasts.com/episodes/346-wizard-forms-with-wicked?view=comments
に temporaary な DB を使う例が投稿されています。
- https://github.com/vlado/rails_temporary_data

これを適用してみた例もつくってみました。

スクリーンショット

作成した3つのアプリは どれも rake spec とすると、screenshots/*.png にいくつかのスクリーンショットが保存されるようにしてあります。(github にも commit 済み)

ウィザード化前の Form
0004_before_edit.png

ウィザード化後の Form の最初の画面
0002_before_step1_commit.png

17
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
17
18