ボタンフォームをクリックしてdivを表示しようとしています。私はそれが何を書くべきかわからないだけで間違っていることを知っています、そして私はそれを私のjavascriptページまたはただビューに書くべきです。
<%= submit_tag "Next Step", :type => 'button', :onclick => '$('#devregothinf').hide();' %>
<div id="devregothinf">
<h2>General Information</h2>
<%= render 'geninfor_step', form: f %>
</div>
次のようなエラーが発生します
syntax error, unexpected $end, expecting ')'