<commit_before>= render(:partial => 'shared/form_errors', :locals => {:obj => @user}) unless @user.errors.empty?

.col-md-3
  = dialog_tag("#{@user.name}", {:icon => "fa fa-user", :class => "form_part"}) do
    = render(:partial => "summary", :locals =>{:user => @user})
.col-md-6
  = simple_form_for([@user, Image.new],
    :url => user_images_path(@user, Image.new),
    :html => {:multipart => true, :class => 'form-vertical' },
    :wrapper => :vertical_form,
    :wrapper_mappings => {:check_boxes => :vertical_radio_and_checkboxes, :radio_buttons => :vertical_radio_and_checkboxes, :file => :vertical_file_input, :boolean => :vertical_boolean}) do |f|

    = f.input :description, :as => :hidden, :input_html => { :value => "Profile pircture" }

    = dialog_tag('Profile Photo', {:icon => 'fa fa-cog', :class => "form_part"}) do
      = f.input :image, :required => true
      = f.submit "Add Photo", :class => 'btn btn-primary', :id => 'image_submit'
.col-md-3
  = dialog_tag("Info", {:icon => "fa fa-question-circle", :class => "form_part"}) do
    %p= "You may upload any #{ImageUploader.new.extension_white_list.to_sentence(last_word_connector: " or ")} file as your profile"

= render 'scripts'<commit_msg>fix spelling error<commit_after>= render(:partial => 'shared/form_errors', :locals => {:obj => @user}) unless @user.errors.empty?

.col-md-3
  = dialog_tag("#{@user.name}", {:icon => "fa fa-user", :class => "form_part"}) do
    = render(:partial => "summary", :locals =>{:user => @user})
.col-md-6
  = simple_form_for([@user, Image.new],
    :url => user_images_path(@user, Image.new),
    :html => {:multipart => true, :class => 'form-vertical' },
    :wrapper => :vertical_form,
    :wrapper_mappings => {:check_boxes => :vertical_radio_and_checkboxes, :radio_buttons => :vertical_radio_and_checkboxes, :file => :vertical_file_input, :boolean => :vertical_boolean}) do |f|

    = f.input :description, :as => :hidden, :input_html => { :value => "Profile picture" }

    = dialog_tag('Profile Photo', {:icon => 'fa fa-cog', :class => "form_part"}) do
      = f.input :image, :required => true
      = f.submit "Add Photo", :class => 'btn btn-primary', :id => 'image_submit'
.col-md-3
  = dialog_tag("Info", {:icon => "fa fa-question-circle", :class => "form_part"}) do
    %p= "You may upload any #{ImageUploader.new.extension_white_list.to_sentence(last_word_connector: " or ")} file as your profile"

= render 'scripts'
{'fraction_non_alphanumeric': 0.20081967213114754, 'fraction_numerical': 0.002459016393442623, 'mean_word_length': 4.637413394919169, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 59, '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': '808509', 'n_tokens_mistral': 850, 'n_tokens_neox': 824, 'n_words': 189}