<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, in the About section.
    .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
      = f.file_field(:image, :class => "form-control")
      %p.help-block Choose an image of something unique to your city.
      %img{src: @about.image}

    = 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
      = f.file_field(:logo, :class => "form-control")
      %p.help-block Optionally replace the generated City72 logo. See the worksheet for instructions on how to get this SVG file.
      %img{src: @about.logo}


    - unless flash.empty?
      .alert.alert-dismissable{:class => (flash.first[0] == :error)? "alert-danger" : "alert-success"}
        %button.close(data-dismiss="alert" aria-hidden="true") &times;
        %strong "#{ (flash.first[0] == :error)? "Error!" : "Saved!" }"
        = flash.first[1]

    .form-actions
      = content_tag :button, :type => :submit, :class => 'btn btn-primary js-save ladda-button' do
        %span.ladda-label Save Changes


<commit_msg>preview styles added to about / logo<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, in the About section.
    .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
      = f.file_field(:image, :class => "form-control")
      %p.help-block Choose an image of something unique to your city.
      %img{src: @about.image}

    = 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. See the worksheet for instructions on how to get this SVG file.
      %img.preview{src: @about.logo}
      = f.file_field(:logo, :class => "form-control")


    - unless flash.empty?
      .alert.alert-dismissable{:class => (flash.first[0] == :error)? "alert-danger" : "alert-success"}
        %button.close(data-dismiss="alert" aria-hidden="true") &times;
        %strong "#{ (flash.first[0] == :error)? "Error!" : "Saved!" }"
        = flash.first[1]

    .form-actions
      = content_tag :button, :type => :submit, :class => 'btn btn-primary js-save ladda-button' do
        %span.ladda-label Save Changes



{'fraction_non_alphanumeric': 0.15424666449723398, 'fraction_numerical': 0.0078099576960624795, 'mean_word_length': 3.3356840620592383, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 23, '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': '6326190', 'n_tokens_mistral': 1041, 'n_tokens_neox': 999, 'n_words': 267}