<commit_before>p = t('.hint')

= simple_form_for [:instance, @user_role_request] do |f|
  = f.input :role, as: :select, collection: Instance::UserRoleRequest.roles.keys.map { |k| [t(".#{k}"), k]},
                   label: t('.role_label')
  = f.input :organization
  = f.input :designation
  = f.input :reason

  = f.button :submit, f.object.persisted? ? t('.edit_button') : t('.create_button')
<commit_msg>Do not allow rich text request reasons<commit_after>p = t('.hint')

= simple_form_for [:instance, @user_role_request] do |f|
  = f.input :role, as: :select, collection: Instance::UserRoleRequest.roles.keys.map { |k| [t(".#{k}"), k]},
                   label: t('.role_label')
  = f.input :organization
  = f.input :designation
  = f.input :reason, as: :string

  = f.button :submit, f.object.persisted? ? t('.edit_button') : t('.create_button')

{'fraction_non_alphanumeric': 0.19086651053864168, 'fraction_numerical': 0.0, 'mean_word_length': 3.776536312849162, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6197781', 'n_tokens_mistral': 308, 'n_tokens_neox': 305, 'n_words': 66}