<commit_before>= alert_message_for(article)

= form_for [:admin, article], :html => { :class => 'form-stacked' } do |f|
  %fieldset

    - if article.persisted?
      %legend
        Editando Artículo ##{article.id}
        - if @article.persisted?
          %small= link_to "Ver original", @article, :target => '_blank'

    .clearfix
      = f.label :title
      .input
        = f.text_field :title, :class => 'xxlarge'
    .clearfix
      = f.label :content
      .input
        = f.text_area :content, :class => 'xxlarge'

    .actions
      = f.submit ( article.new_record? ? 'Publicar' : 'Guardar' ), :class => 'btn primary'
      = link_to 'Cancelar', admin_articles_path, :class => 'btn'<commit_msg>./app/views/admin/articles/_form.html.haml:9 - replace instance variable with local variable<commit_after>= alert_message_for(article)

= form_for [:admin, article], :html => { :class => 'form-stacked' } do |f|
  %fieldset

    - if article.persisted?
      %legend
        Editando Artículo ##{article.id}
        - if article.persisted?
          %small= link_to "Ver original", article, :target => '_blank'

    .clearfix
      = f.label :title
      .input
        = f.text_field :title, :class => 'xxlarge'
    .clearfix
      = f.label :content
      .input
        = f.text_area :content, :class => 'xxlarge'

    .actions
      = f.submit ( article.new_record? ? 'Publicar' : 'Guardar' ), :class => 'btn primary'
      = link_to 'Cancelar', admin_articles_path, :class => 'btn'
{'fraction_non_alphanumeric': 0.15003348961821836, 'fraction_numerical': 0.0006697923643670462, 'mean_word_length': 2.6, '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': '7307043', 'n_tokens_mistral': 503, 'n_tokens_neox': 491, 'n_words': 115}