Sha256: 2c8220790914a54161c6535858f3a1d9288d3ae53ca4d7a0d76551ea4d372b78

Contents?: true

Size: 553 Bytes

Versions: 6

Compression:

Stored size: 553 Bytes

Contents

<% if curation_concern.persisted? && curation_concern.generic_files.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.generic_files.map {|file| [file.title.first, file.pid] } ],{}, { class: 'form-control' } ) %>
      </fieldset>
    </div>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

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