<commit_before><% unless curation_concern.persisted? %>
  <fieldset id="work-contents">
    <div class="row with-headroom">
      <div class="col-md-12">
        <legend>
          Add Your Content
        </legend>
      </div>
    </div>

    <div class="row">

      <fieldset class="col-md-12">
        <%= f.input :files, as: :file, label: 'Upload a file', hint: 'A PDF is preferred.'%>
      </fieldset>
    </div>
  </fieldset>
<% end %>
<commit_msg>Adds LinkedResource support from Curate, but does not add a controller or actor for them -- they only get added or viewed as attachments on a Work.  Might want to make the underlying model simpler in the future. refs 65<commit_after><% unless curation_concern.persisted? %>
  <fieldset id="work-contents">
    <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_urls, label: "External link", input_html: {class: 'input-xlarge'} %>
      </fieldset>

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

{'fraction_non_alphanumeric': 0.15080428954423591, 'fraction_numerical': 0.007372654155495978, 'mean_word_length': 2.5889423076923075, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4891659', 'n_tokens_mistral': 502, 'n_tokens_neox': 471, 'n_words': 144}