<commit_before>  <h1 class="o-heading__level1">Finalize Submission</h1>
    <%= render partial: "stash_datacite/resources/missing_mandatory_data", locals: { data: @data } %>
  <h2 class="o-heading__page-span">Review Description</h2>
    <%= link_to "Edit Description",
                stash_url_helpers.metadata_entry_pages_find_or_create_path(resource_id: @resource.id),
                class: 't-review__edit-button-top o-button__icon-left', role: 'button' %>
    <%= render partial: "stash_datacite/titles/show", locals: { title: @review.title } %>
    <div class="o-metadata__group2">
      <%= render partial: "stash_datacite/creators/show", locals: { creators: @review.creators } %>
      <%= render partial: "stash_datacite/publishers/publication_info", locals: {resource: @resource } %>
    </div>

    <section class="o-section">
    <%= render partial: "stash_datacite/shared/citations", locals: { creators: @review.creators, title: @review.title,
                         resource_type: @review.resource_type, version: "v#{@resource.version_number}",
                         identifier: @resource.identifier.nil? ? nil : "#{@review.identifier.identifier}",
                         publisher: @review.publisher,
                         publication_years: @resource.publication_years } %>
    </section>

    <%= render partial: "stash_datacite/descriptions/show", locals:
        { abstract: @review.abstract, methods: @review.methods, other: @review.other } %>
    <%= render partial: "stash_datacite/subjects/show", locals: { subjects: @review.subjects } %>

    <% unless @review.contributors.length + @review.related_identifiers.length < 1 %>
      <section class="t-review__funding-section o-section">
        <%= render partial: "stash_datacite/contributors/show", locals: { contributors: @review.contributors } %>
        <%= render partial: "stash_datacite/related_identifiers/show", locals:
            { related_identifiers: @review.related_identifiers } %>
        <%= link_to "Edit Description",
                    stash_url_helpers.metadata_entry_pages_find_or_create_path(resource_id: @resource.id),
                    class: 't-review__edit-button-bottom o-button__icon-left', role: 'button' %>
      </section>
    <% end %>

    <% if @resource.has_geolocation %>
      <h3 class="o-heading__level2">Location</h3>
      <div id="map_review" class="o-map"></div>
      <div class="c-locations">
        <%= render partial: "stash_datacite/geolocation_points/show",
                   locals: { geolocation_points: @review.geolocation_points } %>
        <%= render partial: "stash_datacite/geolocation_boxes/show",
                   locals: { geolocation_boxes: @review.geolocation_boxes } %>
        <%= render partial: "stash_datacite/geolocation_places/show",
                   locals: { geolocation_places: @review.geolocation_places } %>
      </div>
    <% end %>

    <h2 class="o-heading__page-span">Review Data Files</h2>

    <div class="c-review-files">
      <%= render partial: "stash_engine/file_uploads/show", locals: { file_uploads:  @review.file_uploads } %>
      <%= link_to 'Edit Files', stash_engine.upload_resource_path(@resource), id: 'upload_path',
                  class: 'c-review-files-button o-button__icon-left', role: 'button' %>
    </div>

    <h2 class="o-heading__page-span">Choose Publication Date & License</h2>
    <%= render partial: "stash_datacite/embargoes/review", locals: { embargo: @review.embargo } %><commit_msg>adding html div to embargo section<commit_after>  <h1 class="o-heading__level1">Finalize Submission</h1>
    <%= render partial: "stash_datacite/resources/missing_mandatory_data", locals: { data: @data } %>
  <h2 class="o-heading__page-span">Review Description</h2>
    <%= link_to "Edit Description",
                stash_url_helpers.metadata_entry_pages_find_or_create_path(resource_id: @resource.id),
                class: 't-review__edit-button-top o-button__icon-left', role: 'button' %>
    <%= render partial: "stash_datacite/titles/show", locals: { title: @review.title } %>
    <div class="o-metadata__group2">
      <%= render partial: "stash_datacite/creators/show", locals: { creators: @review.creators } %>
      <%= render partial: "stash_datacite/publishers/publication_info", locals: {resource: @resource } %>
    </div>

    <section class="o-section">
    <%= render partial: "stash_datacite/shared/citations", locals: { creators: @review.creators, title: @review.title,
                         resource_type: @review.resource_type, version: "v#{@resource.version_number}",
                         identifier: @resource.identifier.nil? ? nil : "#{@review.identifier.identifier}",
                         publisher: @review.publisher,
                         publication_years: @resource.publication_years } %>
    </section>

    <%= render partial: "stash_datacite/descriptions/show", locals:
        { abstract: @review.abstract, methods: @review.methods, other: @review.other } %>
    <%= render partial: "stash_datacite/subjects/show", locals: { subjects: @review.subjects } %>

    <% unless @review.contributors.length + @review.related_identifiers.length < 1 %>
      <section class="t-review__funding-section o-section">
        <%= render partial: "stash_datacite/contributors/show", locals: { contributors: @review.contributors } %>
        <%= render partial: "stash_datacite/related_identifiers/show", locals:
            { related_identifiers: @review.related_identifiers } %>
        <%= link_to "Edit Description",
                    stash_url_helpers.metadata_entry_pages_find_or_create_path(resource_id: @resource.id),
                    class: 't-review__edit-button-bottom o-button__icon-left', role: 'button' %>
      </section>
    <% end %>

    <% if @resource.has_geolocation %>
      <h3 class="o-heading__level2">Location</h3>
      <div id="map_review" class="o-map"></div>
      <div class="c-locations">
        <%= render partial: "stash_datacite/geolocation_points/show",
                   locals: { geolocation_points: @review.geolocation_points } %>
        <%= render partial: "stash_datacite/geolocation_boxes/show",
                   locals: { geolocation_boxes: @review.geolocation_boxes } %>
        <%= render partial: "stash_datacite/geolocation_places/show",
                   locals: { geolocation_places: @review.geolocation_places } %>
      </div>
    <% end %>

    <h2 class="o-heading__page-span">Review Data Files</h2>

    <div class="c-review-files">
      <%= render partial: "stash_engine/file_uploads/show", locals: { file_uploads:  @review.file_uploads } %>
      <%= link_to 'Edit Files', stash_engine.upload_resource_path(@resource), id: 'upload_path',
                  class: 'c-review-files-button o-button__icon-left', role: 'button' %>
    </div>

    <h2 class="o-heading__page-span">Choose Publication Date & License</h2>
    <div id="embargo_section">
      <%= render partial: "stash_datacite/embargoes/review", locals: { embargo: @review.embargo } %>
    </div>
{'fraction_non_alphanumeric': 0.1447013760817137, 'fraction_numerical': 0.003972194637537239, 'mean_word_length': 3.2623941958887546, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 91, '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': '929752', 'n_tokens_mistral': 2293, 'n_tokens_neox': 2147, 'n_words': 364}