質問編集履歴

4

補足追記

2018/10/01 06:24

投稿

HelloWorld2
HelloWorld2

スコア32

test CHANGED
File without changes
test CHANGED
@@ -76,4 +76,6 @@
76
76
 
77
77
  render()を使用することにこだわっていませんが、
78
78
 
79
+ render()を使用することで、フォームの値が保持されるため使用しております。
80
+
79
81
  フォームにvalue=~で初期値を設定する方法はできれば避けたいです。

3

誤字修正

2018/10/01 06:23

投稿

HelloWorld2
HelloWorld2

スコア32

test CHANGED
File without changes
test CHANGED
@@ -44,7 +44,7 @@
44
44
 
45
45
  ```
46
46
 
47
- $routes->connect('/Hoge/regist/*', ['controller' => 'regist', 'action' => 'index']);
47
+ $routes->connect('/Hoge/regist/*', ['controller' => 'sample', 'action' => 'index']);
48
48
 
49
49
  ```
50
50
 
@@ -62,7 +62,7 @@
62
62
 
63
63
  処理概要5で`index.ctp`を呼び出した際は、処理概要3で入力したフォームの値を保持できておりますが、
64
64
 
65
- URLに関しては、`http://localhost/Project/regist/regist`となっています。
65
+ URLに関しては、`http://localhost/Project/sample/regist`となっています。
66
66
 
67
67
 
68
68
 

2

補足追加

2018/09/28 09:04

投稿

HelloWorld2
HelloWorld2

スコア32

test CHANGED
File without changes
test CHANGED
@@ -67,3 +67,13 @@
67
67
 
68
68
 
69
69
  上記要件を満たすよう修正したいのですが、どのような修正が必要でしょうか。
70
+
71
+
72
+
73
+
74
+
75
+ # **補足**
76
+
77
+ render()を使用することにこだわっていませんが、
78
+
79
+ フォームにvalue=~で初期値を設定する方法はできれば避けたいです。

1

文言不足箇所修正

2018/09/28 08:18

投稿

HelloWorld2
HelloWorld2

スコア32

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  # **URL**
42
42
 
43
- indexアクションは下記のように設定し、URLは`http://localhost/Project/Hoge/regist`としています。
43
+ indexアクションは、`config/routes.php`で、下記のように設定し、URLは`http://localhost/Project/Hoge/regist`としています。
44
44
 
45
45
  ```
46
46