<commit_before>.achievements-page
  - content_for :title, t("views.achievements.data_show.title")

  h3.text-center = admin_achievement.name

  .form-group
    = label_tag "Categoria del logro"
    p = admin_achievement.category

  .form-group
    = label_tag t("activerecord.attributes.admin_achievement.description")
    p = admin_achievement.description

  - if admin_achievement.category != "neuron"
    .form-group
      = label_tag t("activerecord.attributes.admin_achievement.settings")
      p = admin_achievement.settings
  
  - if admin_achievement.category == "neuron"
    = label_tag "Neurona"
    p = neuron_selected.title

    = label_tag "Cuantos contenidos debe aprender"
    p = admin_achievement.settings["quantity"]

  .form-group
    = label_tag t("activerecord.attributes.admin_achievement.active")
    p = admin_achievement.active ? "Si" : "No"

  hr
  .pull-right
    = link_to "Editar", edit_admin_admin_achievement_path(admin_achievement), class: "btn btn-link"<commit_msg>fix show details achievements<commit_after>.achievements-page
  - content_for :title, t("views.achievements.data_show.title")

  h3.text-center = admin_achievement.name

  .form-group
    = label_tag "Categoria del logro"
    p = admin_achievement.category

  .form-group
    = label_tag t("activerecord.attributes.admin_achievement.description")
    p = admin_achievement.description

  - if admin_achievement.category == "branch"
    .form-group
      = label_tag "Cuantos contenidos debe aprender"
      p = admin_achievement.settings["quantity"]

      = label_tag "Rama seleccionada"
      p = admin_achievement.settings["branch"]

  - if admin_achievement.category == "content"
    .form-group
      = label_tag "Cuantos contenidos debe aprender"
      p = admin_achievement.settings["quantity"]

      = label_tag "Rama"
      p = admin_achievement.settings["branch"] == "All" ? "Todas" : "Cualquiera"

  - if admin_achievement.category == "test"
    .form-group
      = label_tag "Cuantos test debe lograr"
      p = admin_achievement.settings["quantity"]

      = label_tag "Los tests deben ser continuos"
      p = admin_achievement.settings["continuous"] ? "Si" : "No"

  - if admin_achievement.category == "level"
    .form-group
      = label_tag "Nivel que debe alcanzar"
      p = admin_achievement.settings["level"]
  
  - if admin_achievement.category == "neuron"
    = label_tag "Neurona"
    p = neuron_selected.title

    = label_tag "Cuantos contenidos debe aprender"
    p = admin_achievement.settings["quantity"]

  .form-group
    = label_tag t("activerecord.attributes.admin_achievement.active")
    p = admin_achievement.active ? "Si" : "No"

  hr
  .pull-right
    = link_to "Editar", edit_admin_admin_achievement_path(admin_achievement), class: "btn btn-link"
{'fraction_non_alphanumeric': 0.11023339317773788, 'fraction_numerical': 0.000718132854578097, 'mean_word_length': 3.6433333333333335, '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': '7652961', 'n_tokens_mistral': 976, 'n_tokens_neox': 930, 'n_words': 170}