在popover bootstrap中插入带有ruby的图像

时间:2016-02-28 22:02:40

标签: ruby image twitter-bootstrap popover

这是我试图在popover中添加的图像ruby代码

 <div class="idea">
 <i class="fa fa-lightbulb-o fa-lg popover-img" data-content="<%= cl_image_tag(@hiragana.upload, :width => 260, :height => 340) %>"></i>
 </div>

这是js popover代码

  <script >
      $(document).ready(function(){
        $(".popover-img").popover({
          html: true,
          trigger: "hover",
          content: "",
          placement:'bottom'
        });
      })
    </script>

1 个答案:

答案 0 :(得分:0)

mvn dependency:purge-local-repository