这个输入:
<%= f.input :keywords, label: false, :input_html => {:class => "span8"}, :placeholder => "Park Slope, Prospect Heights, Fort Green..." %>
产生这个:
<div class="control-group string optional">
<div class="controls">
<input class="string optional span8" id="search_keywords" name="search[keywords]" placeholder="Park Slope, Prospect Heights, Fort Green..." size="50" type="text" />
</div>
</div>
我如何只生成input
没有周围 div 的单独?
谢谢。