{"id":9881,"date":"2019-02-07T14:34:06","date_gmt":"2019-02-07T05:34:06","guid":{"rendered":"https:\/\/www.itblog.jp\/?p=9881"},"modified":"2019-02-07T14:34:06","modified_gmt":"2019-02-07T05:34:06","slug":"%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e6%99%82%e3%81%ab%e5%85%a5%e5%8a%9b%e5%80%a4%e3%82%92%e4%bf%9d%e6%8c%81%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95laravel5-7","status":"publish","type":"post","link":"https:\/\/www.itblog.jp\/?p=9881","title":{"rendered":"\u30d5\u30a9\u30fc\u30e0\u3067\u30a8\u30e9\u30fc\u6642\u306b\u5165\u529b\u5024\u3092\u4fdd\u6301\u3059\u308b\u65b9\u6cd5(Laravel5.7)"},"content":{"rendered":"<p>Laravel5.7\u3067\u3001\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u3063\u3066\u3044\u3066\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u5165\u529b\u306e\u30d5\u30a9\u30fc\u30e0\u306e\u5024\u3092\u4fdd\u6301\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3067\u3059\u3002<\/p>\n<p>\u7d50\u8ad6\u304b\u3089\u3044\u3046\u3068\u3001blade\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u3000{{ old(&#8216;\u9805\u76ee\u540d&#8217;) }}\u3000\u306e\u5024\u3092\u3082\u305f\u305b\u308b\u3053\u3068\u3067\u5165\u529b\u524d\u306e\u5024\u3092\u4fdd\u6301\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u3093\u306a\u304b\u3093\u3058\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \" > &lt;table class=\"table table-striped\"&gt;\r\n\r\n            &lt;tr&gt;\r\n                &lt;td&gt;\u30bf\u30a4\u30c8\u30eb&lt;\/td&gt;\r\n                &lt;td&gt;&lt;input type=\"text\" name=\"title\" value=\"{{ old('title') }}\" placeholder=\"\u30bf\u30a4\u30c8\u30eb\u304c\u5165\u308a\u307e\u3059\" \/&gt;&lt;\/td&gt;\r\n            &lt;\/tr&gt;\r\n\r\n            &lt;tr&gt;\r\n                &lt;td&gt;\u672c\u6587&lt;\/td&gt;\r\n                &lt;td&gt;&lt;textarea name=\"body\"&gt;{{ old('body') }}&lt;\/textarea&gt;&lt;\/td&gt;\r\n            &lt;\/tr&gt;\r\n<\/pre>\n<p>\u3053\u308c\u306f\u3001\u5165\u529b\u5024\u306e\u30d5\u30a9\u30fc\u30e0\u306a\u306e\u3067\u3001\u306f\u3058\u3081\u306f\u7a7a\u6b04\u306a\u306e\u3067\u3001\u5165\u529b\u524d\u306e\u5024\u3060\u3051\u4fdd\u6301\u3067\u304d\u3066\u3044\u308c\u3070\u3044\u3044\u3067\u3059\u304c\u3001\u3053\u308c\u304c\u7de8\u96c6\u3059\u308b\u5834\u5408\u3060\u3068<\/p>\n<p>\u521d\u671f\uff09\u3000\u7de8\u96c6\u524d\u306e\u5024\u3092\u6301\u3063\u3066\u3044\u308b<br \/>\n\u30a8\u30e9\u30fc\u6642\uff09\u3000\u5165\u529b\u30a8\u30e9\u30fc\u306e\u5024\u3092\u6301\u3063\u3066\u3044\u308b<\/p>\n<p>\u306e\uff12\u3064\u306e\u72b6\u614b\u3092\u6301\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \" >&lt;table class=\"table table-striped\"&gt;\r\n\r\n            &lt;tr&gt;\r\n                &lt;td&gt;\u30bf\u30a4\u30c8\u30eb&lt;\/td&gt;\r\n                &lt;td&gt;&lt;input type=\"text\" name=\"title\" value=\"{{ old('title' , $post-&gt;title) }}\" \/&gt;&lt;\/td&gt;\r\n            &lt;\/tr&gt;\r\n\r\n            &lt;tr&gt;\r\n                &lt;td&gt;\u672c\u6587&lt;\/td&gt;\r\n                &lt;td&gt;&lt;textarea name=\"body\"&gt;{{ old('body', $post-&gt;body) }}&lt;\/textarea&gt;&lt;\/td&gt;\r\n            &lt;\/tr&gt;<\/pre>\n<p>old\u306e\uff12\u3064\u76ee\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u6301\u305f\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laravel5.7\u3067\u3001\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u3063\u3066\u3044\u3066\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u5165\u529b\u306e\u30d5\u30a9\u30fc\u30e0\u306e\u5024\u3092\u4fdd\u6301\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3067\u3059\u3002 \u7d50\u8ad6\u304b\u3089\u3044\u3046\u3068\u3001blade\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u3000{{ old(&#8216;\u9805\u76ee\u540d&#8217;) }}\u3000\u306e\u5024\u3092\u3082\u305f\u305b\u308b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[140,131],"tags":[],"class_list":["post-9881","post","type-post","status-publish","format-standard","hentry","category-laravel","category-131"],"_links":{"self":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9881"}],"version-history":[{"count":0,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9881\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}