Sha256: 183ea6ffecf1993ebb73a5d882a5868e2c1e542d1a95186184ddb3a9909b393e

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

  <option value=""></option>
  <% @file_containers.group_by(&:class).each do |klass, file_containers| %>
    <optgroup label="<%= klass.to_s.pluralize %>">
      <%= render({
        :partial => 'file_attachments/file_container_option',
        :collection => file_containers,
        :locals => {
          :selected => selected
        }
      }) %>
    </optgroup>
  <% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
file_share-0.1.4 app/views/file_attachments/_file_container_select.html.erb
file_share-0.1.3 app/views/file_attachments/_file_container_select.html.erb
file_share-0.1.2 app/views/file_attachments/_file_container_select.html.erb