2020-02-01から1ヶ月間の記事一覧
simple_formで f.input を使うときに legend_tag が生成されるような場合には <%= f.input :name, legend_tag_html: { class: 'custome-class' } %> としてやればよい 同様にlabelの場合は label_html, wrapperの場合は wrapper_html でオプションを指定する…
simple_formで f.input を使うときに legend_tag が生成されるような場合には <%= f.input :name, legend_tag_html: { class: 'custome-class' } %> としてやればよい 同様にlabelの場合は label_html, wrapperの場合は wrapper_html でオプションを指定する…