Sha256: b3694fded7c7c818a82b8646882ac635c728e4a34b40d8dc5426a62fbcd54f46

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

  <div class="field">
    <%= f.label :name, "节点名称" %>
    <%= f.text_field :name %>
  </div>

  <div class="field">
    <%= f.label :sort_ids, '包含类' %>
    <%= f.collection_select :sort_ids, Sort.all, :id, :name, {}, { :multiple => 'multiple', :class => 'input-xlarge' } %>
  </div>

  <div class="form-actions">
    <%= f.submit :class => 'btn btn-primary btn-large' %>
  </div>



<script>
  $('#section_sort_ids').select2();
</script>


Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
rails_detail-0.0.1 app/views/rails_detail_admin/sections/_form.html.erb
rails_detail-0.0.1 app/views/rails_detail_my/sections/_form.html.erb