如何"数据解雇"在铁轨上引导?

时间:2017-06-27 05:32:45

标签: ruby-on-rails twitter-bootstrap model-view-controller model bootstrap-modal

我的代码如下:

   <div class="tr">
     <button type="button" class="btn btn-default close-modal mr10" data-dismiss="modal">Close</button>
     <%= button_tag "Submit", class: "btn btn-primary", "data-dismiss" => "modal" %>
   </div>

1 个答案:

答案 0 :(得分:0)

<%= button_tag "Submit", class: "btn btn-primary", "data-dismiss": "modal", "aria-hidden": "true" %>