Sha256: b98c7a0575aecfa086b19152d2099b1188f7ccf791167df6be2d5a2d3291f95c

Contents?: true

Size: 781 Bytes

Versions: 2

Compression:

Stored size: 781 Bytes

Contents

<% unless curation_concern.persisted? %>
  <fieldset>
    <div class="row with-headroom">
      <div class="span12">
        <legend>
          Add Your Content
        </legend>

        <p class="help-block">
          The subject of your <%= curation_concern.human_readable_type.downcase %> can either be a file <em>or</em> a URL.
        </p>
      </div>
    </div>

    <div class="row">

      <fieldset class="span5">
        <%= f.input :files, as: :file, label: 'Upload a file', hint: 'A PDF is preferred.'%>
      </fieldset>

      <strong class="span1 field-choice">OR</strong>

      <fieldset class="span6">
        <%= f.input :linked_resource_url, label: "External link", input_html: {class: 'input-xlarge'} %>
      </fieldset>

    </div>
  </fieldset>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
curate-0.5.0 app/views/curation_concern/base/_form_files_and_links.html.erb
curate-0.4.2 app/views/curation_concern/base/_form_files_and_links.html.erb