teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

リンクに変更

2016/01/27 08:59

投稿

fagai
fagai

スコア2158

answer CHANGED
@@ -1,9 +1,9 @@
1
1
  おそらく質問者さんの求めてる情報は以下のLaravelCollectiveのドキュメントに載っていると思います。
2
- https://laravelcollective.com/docs/5.1/html
2
+ [https://laravelcollective.com/docs/5.1/html](https://laravelcollective.com/docs/5.1/html)
3
3
 
4
4
  一応openメソッドのソースは以下です。
5
- https://github.com/LaravelCollective/html/blob/5.2/src/FormBuilder.php#L115
5
+ [https://github.com/LaravelCollective/html/blob/5.2/src/FormBuilder.php#L115](https://github.com/LaravelCollective/html/blob/5.2/src/FormBuilder.php#L115)
6
6
  reservedに指定されている、method,url,route,action,filesというkey以外はhtmlの属性になるので気にせずそのまま属性をkeyにしたら良いと思います。
7
7
 
8
8
  labelに関しては同じくソースを見ていただければ分かるかと思いますー。
9
- https://github.com/LaravelCollective/html/blob/5.2/src/FormBuilder.php#L216
9
+ [https://github.com/LaravelCollective/html/blob/5.2/src/FormBuilder.php#L216](https://github.com/LaravelCollective/html/blob/5.2/src/FormBuilder.php#L216)