【发布时间】:2016-01-10 19:20:07
【问题描述】:
我想在 ruby 中将图像添加到以下行。
我的选择标签如下
<%= select_tag :type, options_for_select(['All'] | shop.types.map{|o| [o, o.downcase] }),class: 'hometest' %>
这是我希望放置在其中的类的图像。
<%= image_tag 'dropdown.svg', class: "dropdownimg" %>
【问题讨论】:
标签: html ruby-on-rails html-select