<commit_before>.panel.panel-default
  .panel-heading
    %h3.panel-title= project.title

  .panel-body
    .row
      .col-md-4
        .project-detail
          %i.fa.fa-user.fa-fw
          =project.owner.name

        .project-detail
          %i.fa.fa-calendar.fa-fw
          =l project.next_date, format: :short

        -if project.recurrence&.to_sym != :none
          .project-detail
            %i.fa.fa-refresh.fa-fw
            =t(project.recurrence, scope: 'recurrence_types')

        .project-detail
          %i.fa.fa-map-marker.fa-fw
          =project.address
          |
          =project.zip
          =project.city

        -if project.participation_wanted
          .project-detail
            %i.fa.fa-heart.fa-fw
            =project.participations.length
            =t('project.participants')

        -if project.messages.any?
          .project-detail
            %i.fa.fa-envelope-o.fa-fw
            =project.messages.length
            =t('project.messages')

        .project-detail
          =link_to t('show_on_map'), map_path({ select: project.id }), { class: "btn btn-info btn-xs", role: 'button' }

      .col-md-8
        %p
          =project.abstract

    %hr
    .right
      =link_to project, { class: "btn btn-default", role: 'button' } do
        %i.fa.fa-hand-o-right
        =t('go_to_project')<commit_msg>add edit button to _project partial<commit_after>.panel.panel-default
  .panel-heading
    %h3.panel-title= project.title

  .panel-body
    .row
      .col-md-4
        .project-detail
          %i.fa.fa-user.fa-fw
          =project.owner.name

        .project-detail
          %i.fa.fa-calendar.fa-fw
          =l project.next_date, format: :short

        -if project.recurrence&.to_sym != :none
          .project-detail
            %i.fa.fa-refresh.fa-fw
            =t(project.recurrence, scope: 'recurrence_types')

        .project-detail
          %i.fa.fa-map-marker.fa-fw
          =project.address
          |
          =project.zip
          =project.city

        -if project.participation_wanted
          .project-detail
            %i.fa.fa-heart.fa-fw
            =project.participations.length
            =t('project.participants')

        -if project.messages.any?
          .project-detail
            %i.fa.fa-envelope-o.fa-fw
            =project.messages.length
            =t('project.messages')

        .project-detail
          =link_to t('show_on_map'), map_path({ select: project.id }), { class: "btn btn-info btn-xs", role: 'button' }

      .col-md-8
        %p
          =project.abstract

    %hr
    .right
      -if user_signed_in? and project.owner == current_user
        =link_to edit_project_path(project), { class: "btn btn-warning", role: 'button' } do
          %i.fa.fa-pencil-square-o
          =t('project.edit')

      =link_to project, { class: "btn btn-default", role: 'button' } do
        %i.fa.fa-hand-o-right
        =t('go_to_project')
{'fraction_non_alphanumeric': 0.1327223353699932, 'fraction_numerical': 0.002036659877800407, 'mean_word_length': 1.603356890459364, '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': '3852739', 'n_tokens_mistral': 974, 'n_tokens_neox': 948, 'n_words': 155}