Railsでtext_field_tagにdata-prompt-positionというのを追記したいのですがどうしたらいいでしょうか?
こうしたい。
html
1<input type="text" class="" data-prompt-position="bottomLeft" />
現状(うごかない)
ruby
1<%= text_field_tag :card , nil, {:class => "", :data-prompt-position => "bottomLeft"}%>
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/12/16 09:58