<commit_before>- partial = CmsPartial.where(parent: nil, name: 'account_form_text').first
- if partial
  = cadmus_renderer.render(Liquid::Template.parse(partial.content), :html)

.card
  .card-header
    Account data
  .card-body
    %fieldset
      = f.text_field :first_name, :placeholder => :first_name, :required => true
      = f.text_field :last_name, :placeholder => :last_name, :required => true
      - unless resource.new_record?
        .alert.alert-warning
          Please note that each convention keeps a separate record of your name.  Changing your name
          here will apply to new conventions you sign up for in the future.  To change your name on
          existing conventions, please go to each convention's web site and choose "my profile" from
          the menu.
      = f.email_field :email, :placeholder => :email, :required => true
    %fieldset
      = f.password_field :password, :autocomplete => "off", help: (resource.new_record? ? nil : "Leave blank if you don't want to change it")
      = f.password_field :password_confirmation
    - if resource.new_record?
      .form-group
        - if flash[:recaptcha_error].present?
          .alert.alert-danger= flash[:recaptcha_error]
        = recaptcha_tags
    - else<commit_msg>Bang!<commit_after>- partial = CmsPartial.where(parent: nil, name: 'account_form_text').first
- if partial
  = cadmus_renderer.render(Liquid::Template.parse(partial.content), :html)

.card
  .card-header
    Account data
  .card-body
    %fieldset
      = f.text_field :first_name, :placeholder => :first_name, :required => true
      = f.text_field :last_name, :placeholder => :last_name, :required => true
      - unless resource.new_record?
        .alert.alert-warning
          .d-flex.align-items-center
            .h1.mr-4
              %i.fa.fa-exclamation-triangle
            .flex-grow-1
              Please note that each convention keeps a separate record of your name.  Changing your name
              here will apply to new conventions you sign up for in the future.  To change your name on
              existing conventions, please go to each convention's web site and choose "my profile" from
              the menu.
      = f.email_field :email, :placeholder => :email, :required => true
    %fieldset
      = f.password_field :password, :autocomplete => "off", help: (resource.new_record? ? nil : "Leave blank if you don't want to change it")
      = f.password_field :password_confirmation
    - if resource.new_record?
      .form-group
        - if flash[:recaptcha_error].present?
          .alert.alert-danger= flash[:recaptcha_error]
        = recaptcha_tags
    - else
{'fraction_non_alphanumeric': 0.10108981585869974, 'fraction_numerical': 0.0011273957158962795, 'mean_word_length': 2.717877094972067, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '1553049', 'n_tokens_mistral': 779, 'n_tokens_neox': 762, 'n_words': 231}