<commit_before>- content_for :javascript do
  = javascript_include_tag 'global'
  = stylesheet_link_tag 'calendar'

= simple_form_for @user, url: profile_path(@user), method: :post, html: {:class => 'form-horizontal'} do |u|
  = u.error_notification

  = u.simple_fields_for :profile do |p|

    .form-inputs
      = p.input :first_name
      = p.input :last_name
      = p.input :nick_name
      = p.input :contact_number, :label => 'Mobile number'
      = p.input :correspondence_address, :as => :text, :required => true, :input_html => {:cols => 20, :rows => 5}
      = p.input :country
      = p.input :state
      = p.input :city
      = p.input :date_of_birth, :label => 'Date Of Birth', :readonly => true
      %a{:href => '#', :id => 'imgCalendar', :class => 'datePicker'}        
        %img{:src =>'/images/Calendar_scheduleHS.png', :alt => 'Pick date from calendar' }
      = p.input :disability, :collection => ["Visually impaired", "hearly handicap", "leg weekness", "muscular weekness", "Mentally retired"], :prompt => "Select disability type"
      = p.input :disability_percentage
      = p.input :facebook
      = p.input :twitter
      %a{:class=>"datePicker", :id=>"dateLnk", :href=>"#"}Calendar(Basic with standard selection)
    .form-actions
    = u.submit"Submit", class: 'btn btn-large btn-success'
    - if current_user.profile.nil?
      = link_to 'Skip', levels_path, class: 'btn btn-large btn-success'
    - else
      = link_to 'Cancel', profile_path(@user), class: 'btn btn-large btn-success'<commit_msg>Calender image is aligned<commit_after>- content_for :javascript do
  = javascript_include_tag 'global'
  = stylesheet_link_tag 'calendar'

= simple_form_for @user, url: profile_path(@user), method: :post, html: {:class => 'form-horizontal'} do |u|
  = u.error_notification

  = u.simple_fields_for :profile do |p|

    .form-inputs
      = p.input :first_name
      = p.input :last_name
      = p.input :nick_name
      = p.input :contact_number, :label => 'Mobile number'
      = p.input :correspondence_address, :as => :text, :required => true, :input_html => {:cols => 20, :rows => 5}
      = p.input :country
      = p.input :state
      = p.input :city
      = p.input :date_of_birth, :label => 'Date Of Birth' do
        =  p.input_field :date_of_birth, :readonly => true 
        %a{:href => '#', :id => 'imgCalendar', :class => 'datePicker'}        
          %img{:src =>'/images/Calendar_scheduleHS.png', :alt => 'Pick date from calendar' }
      = p.input :disability, :collection => ["Visually impaired", "hearly handicap", "leg weekness", "muscular weekness", "Mentally retired"], :prompt => "Select disability type"
      = p.input :disability_percentage
      = p.input :facebook
      = p.input :twitter
      %a{:class=>"datePicker", :id=>"dateLnk", :href=>"#"}Calendar(Basic with standard selection)
    .form-actions
    = u.submit"Submit", class: 'btn btn-large btn-success'
    - if current_user.profile.nil?
      = link_to 'Skip', levels_path, class: 'btn btn-large btn-success'
    - else
      = link_to 'Cancel', profile_path(@user), class: 'btn btn-large btn-success'
{'fraction_non_alphanumeric': 0.15814696485623003, 'fraction_numerical': 0.0019169329073482429, 'mean_word_length': 3.3546592489568847, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 41, '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': '6703169', 'n_tokens_mistral': 1052, 'n_tokens_neox': 1013, 'n_words': 255}