<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mah666hhh</author_name>
  <author_url>https://blog.hatena.ne.jp/mah666hhh/</author_url>
  <blog_title>スリ飯屋MaLankaのフリーエンジニアな日々</blog_title>
  <blog_url>https://www.malanka.org/</blog_url>
  <categories>
    <anon>技術関連</anon>
    <anon>技術関連 - Rails</anon>
  </categories>
  <description>以下のコードを、application.html.erbのbodyタグの一番始め に設定すればOK。 &quot; align=&quot;center&quot;&gt; bootstrapを導入していれば、alert-〇〇〇〇の部分に動的にcssが当たります。 bootstrapでcssを適用出来るflashの種類は、以下の4つ。 flash[:info] flash[:success] flash[:warning] flash[:danger] それにより、メッセージの種類毎に色が変わるようになります。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.malanka.org%2Fentry%2F2020%2F01%2F09%2F072529&quot; title=&quot;【Rails5】viewでflashメッセージを動的に表示させる方法(コピペでOK!) - スリ飯屋MaLankaのフリーエンジニアな日々&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>https://i.moshimo.com/af/i/impression?a_id=2330435&amp;p_id=3031&amp;pc_id=6991&amp;pl_id=38529</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-09 07:25:29</published>
  <title>【Rails5】viewでflashメッセージを動的に表示させる方法(コピペでOK!)</title>
  <type>rich</type>
  <url>https://www.malanka.org/entry/2020/01/09/072529</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
