<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mom0tomo</author_name>
  <author_url>https://blog.hatena.ne.jp/mom0tomo/</author_url>
  <blog_title>dev/mom0tomo</blog_title>
  <blog_url>https://mom0tomo.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>form_withを使ってこんな検索フォームを作った。 user/index.html.slim = form_with model: User.new do |form| = form.label :name, '名前' = form.text_field :name, value: (params[:user][:name] if params[:user]) = form.submit '検索する' users_controller.rb class UserController &lt; ApplicationController def index @users = query.order…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmom0tomo.hateblo.jp%2Fentry%2F2018%2F10%2F11%2F180451&quot; title=&quot;form_withを使って検索フォームをつくる - dev/mom0tomo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-11 18:04:51</published>
  <title>form_withを使って検索フォームをつくる</title>
  <type>rich</type>
  <url>https://mom0tomo.hateblo.jp/entry/2018/10/11/180451</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
