-1
我需要在我.html.erb編寫HTML代碼:Filestyle引導上的回報率
<input type="file" class="filestyle" data-icon="false" data-classButton="btn btn-default" data-classInput="form-control inline input-s">
但是,我不知道我應該怎麼寫數據代碼..
<%= f.file_field :image, class:'filestyle' %>
謝謝!
謝謝,它的工作原理 – 2014-10-20 19:38:10