title: How to "data-dismiss" bootstrap on rails?
body: <p>My Code is as below :</p>
  
  <pre><code>   &lt;div class="tr"&gt;
       &lt;button type="button" class="btn btn-default close-modal mr10" data-dismiss="modal"&gt;Close&lt;/button&gt;
       &lt;%= button_tag "Submit", class: "btn btn-primary", "data-dismiss" =&gt; "modal" %&gt;
     &lt;/div&gt;
  </code></pre>