Open a new window on click submit in rails
<p>Hello i want to open new window on click of submit button using ruby on rails, Here is my code</p>

<pre><code>&lt;div class="actions"&gt;
        &lt;%= f.button :submit,:class =&gt; 'btn btn-md btn-success' do %&gt;
          &lt;i class='fa fa fa-plus'&gt;&lt;/i&gt; Create New Window
        &lt;% end %&gt;
&lt;/div&gt;
</code></pre>

<p>i have tried :target => "_blank" in submit, but it doesnt work, please help me</p>