Sha256: 400cc05e8b51de971b1b655350c9026c6d93dc2a4f1a2071f04b835fb751b5db

Contents?: true

Size: 457 Bytes

Versions: 21

Compression:

Stored size: 457 Bytes

Contents

<%# convert class variable to a local variable if the local hasn't been set %>
<% generic_file = @generic_file unless generic_file  %>

        <div class="controls">
          <p class="help-block">You may select multiple types to apply<p>
          <%= f.select "resource_type", options_for_select(Sufia.config.resource_types.keys, generic_file.resource_type), {}, {:multiple=>true, :size=>7} %>
          <%= help_icon(:resource_type) %>
        </div>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sufia-2.0.0 app/views/generic_files/edit_fields/_resource_type.html.erb