質問編集履歴

1

コードブロック追加 ご指摘ありがとうございます

2017/01/15 23:01

投稿

sea1kiki1
sea1kiki1

スコア14

test CHANGED
File without changes
test CHANGED
@@ -19,6 +19,8 @@
19
19
  ○現状
20
20
 
21
21
  ■controller action内
22
+
23
+ ```
22
24
 
23
25
  public function search()
24
26
 
@@ -58,19 +60,25 @@
58
60
 
59
61
  }
60
62
 
63
+ ```
64
+
61
65
 
62
66
 
63
67
  ■view form内 method=post POSTバックしている
64
68
 
65
69
  // myformはformのid
66
70
 
71
+ ```
72
+
67
73
  $this->Form->input('keyword');
68
74
 
69
75
  $this->Form->button(__('Submit'),array('id'=>'to_submit'));
70
76
 
71
-
77
+ ```
72
78
 
73
79
  ■view <script>タグ内
80
+
81
+ ```
74
82
 
75
83
  <script type="text/javascript">
76
84
 
@@ -132,7 +140,7 @@
132
140
 
133
141
  }
134
142
 
135
-
143
+ ```
136
144
 
137
145
  ○エラーなど
138
146