Sha256: 65618e0945490a5e258173804fedcbd742d5c0b2185aa6ef29c54e2728dc865f

Contents?: true

Size: 465 Bytes

Versions: 2

Compression:

Stored size: 465 Bytes

Contents

<select id="file_container_select" name="file_attachment[file_container]">
  <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 %>
</select>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
file_share-0.1.1 app/views/file_attachments/_file_container_select.html.erb
file_share-0.1.0 app/views/file_attachments/_file_container_select.html.erb