<commit_before>- content_for :title, "New Photo"

- if @flickr_auth
  %p
    Connected to Flickr as
    = succeed "." do
      = link_to @flickr_auth.name, "http://flickr.com/photos/#{@flickr_auth.uid}"
    Please select a photo from your recent uploads.

  - if @sets and @current_set
    %h2= @sets.key(@current_set)

  - if @sets and @sets.length > 0
    %p
      = form_tag(new_photo_path, :method => :get, :class => 'form-inline') do
        = label_tag :set, "Choose a photo set:", :class => 'control-label'
        = select_tag :set, options_for_select(@sets, @current_set), :class => 'input-large'
        = submit_tag "Search", :class => 'btn btn-primary'

  %div.pagination
    = page_entries_info @photos, :model => "photos"
    = will_paginate @photos

  %ul.thumbnails
    .row
    - @photos.each do |p|
      %li.col-md-2.six-across
        .thumbnail(style='height: 220px')
          = link_to image_tag(FlickRaw.url_q(p), :alt => '', :class => 'img-rounded'), photos_path(:photo => { :flickr_photo_id => p.id }, :planting_id => @planting_id), :method => :post
          %p
            =p.title<commit_msg>remove bullet points from new photo page<commit_after>- content_for :title, "New Photo"

- if @flickr_auth
  %p
    Connected to Flickr as
    = succeed "." do
      = link_to @flickr_auth.name, "http://flickr.com/photos/#{@flickr_auth.uid}"
    Please select a photo from your recent uploads.

  - if @sets and @current_set
    %h2= @sets.key(@current_set)

  - if @sets and @sets.length > 0
    %p
      = form_tag(new_photo_path, :method => :get, :class => 'form-inline') do
        = label_tag :set, "Choose a photo set:", :class => 'control-label'
        = select_tag :set, options_for_select(@sets, @current_set), :class => 'input-large'
        = submit_tag "Search", :class => 'btn btn-primary'

  %div.pagination
    = page_entries_info @photos, :model => "photos"
    = will_paginate @photos

  .row
  - @photos.each do |p|
    .col-md-2.six-across
      .thumbnail(style='height: 220px')
        = link_to image_tag(FlickRaw.url_q(p), :alt => '', :class => 'img-rounded'), photos_path(:photo => { :flickr_photo_id => p.id }, :planting_id => @planting_id), :method => :post
        %p
          =p.title
{'fraction_non_alphanumeric': 0.15883668903803133, 'fraction_numerical': 0.005369127516778523, 'mean_word_length': 2.97158081705151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 29, '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': '7461767', 'n_tokens_mistral': 831, 'n_tokens_neox': 784, 'n_words': 186}