<commit_before>div.row(class="asset",data-title=asset.title, data-type=asset.type, data-pedagogical-timeframe=asset.pedagogicalTimeframe, data-pedagogical-perspective=asset.pedagogicalPerspective)
  .row
    div.btn-group.pull-right
      if user && asset.isEditableBy(user)        
        a.btn.btn-danger(href="/assets/" + asset._id + "/edit", data-toggle="tooltip",title="You can edit this because " + asset.isEditableBy(user) + ".", data-placement="top")
            i.fa.fa-edit
            | &nbsp;Edit

    h1
      a(href="/assets/#{asset._id}") #{asset.title}
      if asset.draft
        | &nbsp;
        small
          span.label.label-danger Draft
      else if !(asset.published)
        | &nbsp;
        small
          span.label.label-warning Awaiting Moderation

  .row      
    p #{asset.description}
  .row
    .col-md-2
       if(asset.urlThumbnail)
            a.thumbnail(href="/assets/#{asset._id}")
              img.embed-responsive-item(src=asset.urlThumbnail)
       else if (asset.contentType.match( "application/pdf" ))
          a.thumbnail<commit_msg>avoid nested .row to prevent css problem<commit_after>div(class="asset",data-title=asset.title, data-type=asset.type, data-pedagogical-timeframe=asset.pedagogicalTimeframe, data-pedagogical-perspective=asset.pedagogicalPerspective)
  .row
    div.btn-group.pull-right
      if user && asset.isEditableBy(user)        
        a.btn.btn-danger(href="/assets/" + asset._id + "/edit", data-toggle="tooltip",title="You can edit this because " + asset.isEditableBy(user) + ".", data-placement="top")
            i.fa.fa-edit
            | &nbsp;Edit

    h1
      a(href="/assets/#{asset._id}") #{asset.title}
      if asset.draft
        | &nbsp;
        small
          span.label.label-danger Draft
      else if !(asset.published)
        | &nbsp;
        small
          span.label.label-warning Awaiting Moderation

  .row      
    p #{asset.description}
  .row
    .col-md-2
       if(asset.urlThumbnail)
            a.thumbnail(href="/assets/#{asset._id}")
              img.embed-responsive-item(src=asset.urlThumbnail)
       else if (asset.contentType.match( "application/pdf" ))
          a.thumbnail
{'fraction_non_alphanumeric': 0.1404468764249886, 'fraction_numerical': 0.001823985408116735, 'mean_word_length': 2.4015503875968993, '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': '742052', 'n_tokens_mistral': 703, 'n_tokens_neox': 693, 'n_words': 107}