<commit_before>- winners = FormAnswerDecorator.decorate_collection(@user_award_forms_submitted).select{ |app| app.awarded? }
- any_promotion_winner = winners.select{ |app| app.mobility? }.any?
- any_innovation_winner = winners.select{ |app| app.innovation? }.any?
- any_trade_winner = winners.select{ |app| app.trade? }.any?
- any_development_winner = winners.select{ |app| app.development? }.any?

div
  header.group.page-header.page-header-wider
    div
      h1 Winners' Resources 2021

  .article-container.article-container-wider
    article.group role="article"
      .inner
        p Here you can download Queen's Awards for Enterprise resources for use in your websites and advertising materials. The Winners' Manual provides more detailed information on where and how you are allowed to use these resources.

        br

        h2 Download The Queen's Awards for Enterprise Winners' Manual 2021

        .form-download
          p
            = link_to "Queen's Awards for Enterprise Winners' Manual 2021 (PDF, 877KB)",
                      static_s3_asset_path(2021, "Winners- Manual 2021.pdf"),
                      class: "thumbnail",
                      target: "_blank"

        h2 Download The Queen's Awards Emblem Guidance 2021

        .form-download
          p<commit_msg>📝 Add sample press release to winners dashboard<commit_after>- winners = FormAnswerDecorator.decorate_collection(@user_award_forms_submitted).select{ |app| app.awarded? }
- any_promotion_winner = winners.select{ |app| app.mobility? }.any?
- any_innovation_winner = winners.select{ |app| app.innovation? }.any?
- any_trade_winner = winners.select{ |app| app.trade? }.any?
- any_development_winner = winners.select{ |app| app.development? }.any?

div
  header.group.page-header.page-header-wider
    div
      h1 Winners' Resources 2021

  .article-container.article-container-wider
    article.group role="article"
      .inner
        p Here you can download Queen's Awards for Enterprise resources for use in your websites and advertising materials. The Winners' Manual provides more detailed information on where and how you are allowed to use these resources.

        br

        h2 Download The Queen's Awards for Enterprise Winners' Manual 2021

        .form-download
          p
            = link_to "Queen's Awards for Enterprise Winners' Manual 2021 (PDF, 877KB)",
                      static_s3_asset_path(2021, "Winners- Manual 2021.pdf"),
                      class: "thumbnail",
                      target: "_blank"

        h2 Download a Sample Press Release

        .form-download
          p
            = link_to "Sample Press Release 2021 (PDF, 74KB)",
                      static_s3_asset_path(2021, "Sample Press Release 2021.pdf"),
                      class: "thumbnail",
                      target: "_blank"

        h2 Download The Queen's Awards Emblem Guidance 2021

        .form-download
          p
{'fraction_non_alphanumeric': 0.08449744463373084, 'fraction_numerical': 0.026575809199318567, 'mean_word_length': 2.563106796116505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3106606', 'n_tokens_mistral': 918, 'n_tokens_neox': 793, 'n_words': 256}