Sha256: 72722e1aa8ee36d8a98f701bdff797db2f060f1378ef96ec901745b6e26c9e76

Contents?: true

Size: 334 Bytes

Versions: 6

Compression:

Stored size: 334 Bytes

Contents

<%# convert class variable to a local variable if the local hasn't been set %>
<div>
  <%= f.select "resource_type", options_for_select(Sufia.config.resource_types.keys, record.resource_type), {}, { multiple: true, size: 7 } %>
  <p class="help-block">You may select multiple types to apply <%= help_icon(:resource_type) %><p>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sufia-4.3.1 app/views/records/edit_fields/_resource_type.html.erb
sufia-4.2.0 app/views/records/edit_fields/_resource_type.html.erb
sufia-4.1.0 app/views/records/edit_fields/_resource_type.html.erb
sufia-4.0.1 app/views/records/edit_fields/_resource_type.html.erb
sufia-4.0.0 app/views/records/edit_fields/_resource_type.html.erb
sufia-4.0.0.rc2 app/views/records/edit_fields/_resource_type.html.erb