<commit_before>= custom_pdf_image_tag('logo.png')
.print
  div#single-call
    .tab-content
      .tab
        .call-details
          span.header This is Sparta!
          h2
            a(href=call_path(id:@call._id))
            a.edit-icon.unimplemented(href='#')
          .item-row
            span.label #{t ".looking_for"}:
            span.text = formatted_looking_for(@call)
          .item-row
            span.label #{t "mongoid.attributes.call.date_open"}:
            span.text = formatted_date @call.date_open
          .item-row
            span.label #{t ".submission_dates"}:
            span.text = formatted_date @call.date_start, end_date: @call.date_end
          .item-row
            span.label #{t ".term"}:
            span.text = formatted_date @call.term_start, end_date: @call.term_end
          .item-row
            span.label #{t "mongoid.attributes.call.appointment_place_and_date"}:
            span.text = @call.appointment_place_and_date
          p.description
            = @call.description
          .logo(style="background: url('#{custom_path_in_pdf('logo.png')}');")
      span
      .hr
<commit_msg>update the example of using the helper method to get correct url to pdf printing<commit_after>= custom_pdf_image_tag('logo.png')
.print
  div#single-call
    .tab-content
      .tab
        .call-details
          span.header This is Sparta!
          h2
            a(href=call_path(id:@call._id))
            a.edit-icon.unimplemented(href='#')
          .item-row
            span.label #{t ".looking_for"}:
            span.text = formatted_looking_for(@call)
          .item-row
            span.label #{t "mongoid.attributes.call.date_open"}:
            span.text = formatted_date @call.date_open
          .item-row
            span.label #{t ".submission_dates"}:
            span.text = formatted_date @call.date_start, end_date: @call.date_end
          .item-row
            span.label #{t ".term"}:
            span.text = formatted_date @call.term_start, end_date: @call.term_end
          .item-row
            span.label #{t "mongoid.attributes.call.appointment_place_and_date"}:
            span.text = @call.appointment_place_and_date
          p.description
            = @call.description
      span.image(style="display: block; height: 100px; background: url(#{custom_path_in_pdf('logo.png')});")
      .hr


{'fraction_non_alphanumeric': 0.12231126107127795, 'fraction_numerical': 0.002108814846056516, 'mean_word_length': 1.9761606022584692, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4546089', 'n_tokens_mistral': 735, 'n_tokens_neox': 713, 'n_words': 131}