<tr>
  <td><%= text_field_tag('navbar[][name]', "", id: nil, class: 'form-control', placeholder: "导航名称") %></td>
  <td><%= text_field_tag('navbar[][link]', "", id: nil, class: 'form-control', placeholder: "导航链接") %></td>
  <td><%= number_field_tag('navbar[][index]', "1", id: nil, class: 'form-control',min:0, max:99999, placeholder: "顺序", title:"请输入正整数 范围 0-99999", pattern:'^\d+')%></td>
  <td class="text-center">
    <%= check_box_tag('navbar[][hidden]', 0, false, id: nil, class: 'font-16') %>
  </td>
  <td class="text-center">
    <div class="btn btn-primary btn-sm" onclick="destroy_tr(this)">
      <i class='fa fa-trash'></i>
    </div>
  </td>
</tr>