.container_lg
  .project_wrap.clearfix.content
    - @projects.each do |project|
      = link_to project_path(project), class: 'project_item' do
        %span.project_item_top
          = image_tag(project.photo_preview_url(:thumb_small))
          %span.item_label
            = t "#{project.types}"
            %i.icon.icon_plus
        %span.project_item_middle
          %span.project_item_title #{project.title}
          %span.project_item_subtitle= t "#{project.status}"
          %span.project_item_text= raw project.short_description
        %span.project_item_bot
          %span.progress
            %span.progress-bar{"aria-valuemax" => "100", "aria-valuemin" => "0", "aria-valuenow" => "20", role: "progressbar", style: "width:20%"}
              %span.progress_value= t ('collected_money') 
          %span.progress_details.clearfix
            %span.progress_details_item
              = t ('collected_money')
              %strong 14 200 UAH
            %span.progress_details_item
              = t ('joined_people')
              %strong 214
= link_to "#{t ('more')}", root_path(limit: @projects.count + 1), remote: true, class: ' loadMore btn btn_default btn_bordered btn_more'
