Sha256: ee81de8d819e676f3925f68873875b0eda919a147efbd98264f825ed6b324a2d

Contents?: true

Size: 576 Bytes

Versions: 5

Compression:

Stored size: 576 Bytes

Contents

<% if curation_concern.persisted? && curation_concern.members.present? %>
  <div class="row">
    <div class="col-md-12">
      <fieldset id="representative-image">
        <legend>
          Assign a Thumbnail
        </legend>
        <p>Select the file whose thumbnail should represent this <%= curation_concern.human_readable_type %>.</p>
        <%= f.select( :representative, Hash[ curation_concern.members.map { |m| m.generic_files}.flatten.map {|file| [file.title.first, file.pid] } ],{}, { class: 'form-control' } ) %>
      </fieldset>
    </div>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
worthwhile-0.1.2 app/views/collections/_form_representative_image.html.erb
worthwhile-0.1.1 app/views/collections/_form_representative_image.html.erb
worthwhile-0.1.0 app/views/collections/_form_representative_image.html.erb
worthwhile-0.0.3 app/views/collections/_form_representative_image.html.erb
worthwhile-0.0.2 app/views/collections/_form_representative_image.html.erb