<commit_before>.row
  .span16
    %ul.faqs.unstyled{ class: can?(:update, Faq) ? 'enable_sort' : ''}
      - @faqs.each do |faq|
        = render :partial => 'faq', locals: { faq: faq }

- if can? :create, @faq
  .row
    .span16
      = form_for @faq, remote: true, validate: true, html: { class: 'form-stacked' } do |f|
        %fieldset
          .clearfix
            = f.label :question, "Question"
            .input
              = f.text_field :question, class: 'xxlarge'
          .clearfix
            = f.label :answer, "Answer"
            .input
              = f.text_area :answer, class: 'xxlarge'
          .actions
            = f.submit "Save", :disable_with => 'Saving...', class: 'btn primary'<commit_msg>Removed the disable with from submit button on FAQ form<commit_after>.row
  .span16
    %ul.faqs.unstyled{ class: can?(:update, Faq) ? 'enable_sort' : ''}
      - @faqs.each do |faq|
        = render :partial => 'faq', locals: { faq: faq }

- if can? :create, @faq
  .row
    .span16
      = form_for @faq, remote: true, validate: true, html: { class: 'form-stacked' } do |f|
        %fieldset
          .clearfix
            = f.label :question, "Question"
            .input
              = f.text_field :question, class: 'xxlarge'
          .clearfix
            = f.label :answer, "Answer"
            .input
              = f.text_area :answer, class: 'xxlarge'
          .actions
            = f.submit "Save", class: 'btn primary'
{'fraction_non_alphanumeric': 0.14432284541723667, 'fraction_numerical': 0.005471956224350205, 'mean_word_length': 1.8026819923371646, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '3496985', 'n_tokens_mistral': 494, 'n_tokens_neox': 486, 'n_words': 126}