<commit_before>= javascript_include_tag "cms/spinner_save_btn"
.main-content.about
  .screen-intro
    %p.screen-info Share information about your organization and your City72 site.
    .action-area
      %a.btn.btn-primary.ladda-button.js-save{:href => "#"} Save Changes

  = simple_form_for @about, url: cms_about_path, html: {class: "js-form"} do |f|
    .form-group
      %label{:for => "image"} Image
      %p.help-block Choose a image of a place or moment unique to your city.
      - if !@about.image.blank?
        %img.preview{src: @about.image.url}
      - else
        %img{src: '/assets/placeholder-about.jpg'}
      = f.file_field(:image, :class => "form-control")
      

    = f.input :brought_to_you_by, as: :text, label: 'Brought to you by <span class="help">(Your Organization)</span>'.html_safe, input_html: {cols: '53', rows: '1'}, required: false

    .form-group
      %label{:for => "logo"} Customize your city72 logo
      %p.help-block Optionally replace the generated City72 logo.
      %img.preview{src: @about.logo}
      = f.file_field(:logo, :class => "form-control")


    %h2 Image Credits
    %p.help-block Optionally add image attributions here if needed.
    %ol.image-credits
      %li
        .form-group<commit_msg>added a note to the cms about the image credits being hard coded.<commit_after>= javascript_include_tag "cms/spinner_save_btn"
.main-content.about
  .screen-intro
    %p.screen-info Share information about your organization and your City72 site.
    .action-area
      %a.btn.btn-primary.ladda-button.js-save{:href => "#"} Save Changes

  = simple_form_for @about, url: cms_about_path, html: {class: "js-form"} do |f|
    .form-group
      %label{:for => "image"} Image
      %p.help-block Choose a image of a place or moment unique to your city.
      - if !@about.image.blank?
        %img.preview{src: @about.image.url}
      - else
        %img{src: '/assets/placeholder-about.jpg'}
      = f.file_field(:image, :class => "form-control")
      

    = f.input :brought_to_you_by, as: :text, label: 'Brought to you by <span class="help">(Your Organization)</span>'.html_safe, input_html: {cols: '53', rows: '1'}, required: false

    .form-group
      %label{:for => "logo"} Customize your city72 logo
      %p.help-block Optionally replace the generated City72 logo.
      %img.preview{src: @about.logo}
      = f.file_field(:logo, :class => "form-control")


    %h2 Image Credits
    %p.help-block Optionally add image attributions here if needed. <br/>NOTE: The page seen by viewers no longer references these fields in the database. Instead, please edit the source file (app/views/home/about.html.haml) to modify the list of photographers.
    %ol.image-credits
      %li
        .form-group
{'fraction_non_alphanumeric': 0.13408430232558138, 'fraction_numerical': 0.007267441860465116, 'mean_word_length': 3.0906389301634474, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 18, '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': '6182886', 'n_tokens_mistral': 915, 'n_tokens_neox': 884, 'n_words': 252}