<commit_before>%fieldset.collapsable.collapsed
  %legend= t("orders.show.more_options")
  = hidden_field_tag :backdate_order, true
  %ul
    %li
      = label_tag :order_date
      = text_field_tag :order_date, format_usa_date(Time.zone.now), :class => 'datepicker'
    %li
      = label_tag :order_time
      -# Switch to select_time in rails 3.1. Rails 3.0 doesn't support the :ampm option
      -# = select_time Time.zone.now, :prefix => :order_time, :ignore_date => true, :ampm => true
      = time_select_tag :order_time, Time.zone.now

    %li
      = label_tag :status
      = select_tag(:order_status_id, options_for_select(@order_statuses.map {|s| [s.name_with_level, s.id] }))
    %li
      = label_tag :send_notification
      = check_box_tag :send_notification, 1, true
  :javascript
    $(function() { $('.datepicker').datepicker({maxDate: '#{format_usa_date(Time.zone.now)}'}); });
<commit_msg>Bug #53033 : [ERROR] orders#update (ActionView::Template::Error)<commit_after>%fieldset.collapsable.collapsed
  %legend= t("orders.show.more_options")
  = hidden_field_tag :backdate_order, true
  %ul
    %li
      = label_tag :order_date
      = text_field_tag :order_date, format_usa_date(Time.zone.now), :class => 'datepicker'
    %li
      = label_tag :order_time
      -# Switch to select_time in rails 3.1. Rails 3.0 doesn't support the :ampm option
      -# = select_time Time.zone.now, :prefix => :order_time, :ignore_date => true, :ampm => true
      = time_select_tag :order_time, Time.zone.now

    %li
      = label_tag :status
      = select_tag(:order_status_id, options_for_select(@order_statuses.nil? ? [] : @order_statuses.map {|s| [s.name_with_level, s.id] }))
    %li
      = label_tag :send_notification
      = check_box_tag :send_notification, 1, true
  :javascript
    $(function() { $('.datepicker').datepicker({maxDate: '#{format_usa_date(Time.zone.now)}'}); });

{'fraction_non_alphanumeric': 0.1424802110817942, 'fraction_numerical': 0.0079155672823219, 'mean_word_length': 3.8244274809160306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '2632565', 'n_tokens_mistral': 680, 'n_tokens_neox': 652, 'n_words': 127}