<commit_before>{% extends base_template %}
{% load i18n %}

{% load xadmin_tags %}
{% load crispy_forms_tags %}

{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} detail{% endblock %}

{% block nav_title %}
  {% if model_icon %}<i class="{{model_icon}}"></i> {% endif %}{{ object|truncatewords:"18" }}
{% endblock %}

{% block nav_toggles %}
{% include "xadmin/includes/toggle_back.html" %}
{% if has_change_permission %}
<a href="{% url opts|admin_urlname:'change' object.pk %}" class="navbar-toggle float-right"><i class="fa fa-pencil"></i></a>
{% endif %}
{% if has_delete_permission %}
<a href="{% url opts|admin_urlname:'delete' object.pk %}" class="navbar-toggle float-right"><i class="fa fa-trash-o"></i></a>
{% endif %}
{% endblock %}

{% block nav_btns %}
  {% if has_change_permission %}
  <a href="{% url opts|admin_urlname:'change' object.pk %}" class="btn btn-primary"><i class="fa fa-pencil"></i> <span>{% trans "Edit" %}</span></a>
  {% endif %}
  {% if has_delete_permission %}
  <a href="{% url opts|admin_urlname:'delete' object.pk %}" class="btn btn-danger"><i class="fa fa-trash-o"></i> <span>{% trans "Delete" %}</span></a>
  {% endif %}
{% endblock %}

{% block content %}
  {% view_block 'before_fieldsets' %}
  {% crispy form %}
  {% view_block 'after_fieldsets' %}
{% endblock %}<commit_msg>replacing "navbar-toggle" bootstrap 3 css to "navbar-toggler" bootstrap 4 <commit_after>{% extends base_template %}
{% load i18n %}

{% load xadmin_tags %}
{% load crispy_forms_tags %}

{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} detail{% endblock %}

{% block nav_title %}
  {% if model_icon %}<i class="{{model_icon}}"></i> {% endif %}{{ object|truncatewords:"18" }}
{% endblock %}

{% block nav_toggles %}
{% include "xadmin/includes/toggle_back.html" %}
{% if has_change_permission %}
<a href="{% url opts|admin_urlname:'change' object.pk %}" class="navbar-toggler float-right"><i class="fa fa-pencil"></i></a>
{% endif %}
{% if has_delete_permission %}
<a href="{% url opts|admin_urlname:'delete' object.pk %}" class="navbar-toggler float-right"><i class="fa fa-trash-o"></i></a>
{% endif %}
{% endblock %}

{% block nav_btns %}
  {% if has_change_permission %}
  <a href="{% url opts|admin_urlname:'change' object.pk %}" class="btn btn-primary"><i class="fa fa-pencil"></i> <span>{% trans "Edit" %}</span></a>
  {% endif %}
  {% if has_delete_permission %}
  <a href="{% url opts|admin_urlname:'delete' object.pk %}" class="btn btn-danger"><i class="fa fa-trash-o"></i> <span>{% trans "Delete" %}</span></a>
  {% endif %}
{% endblock %}

{% block content %}
  {% view_block 'before_fieldsets' %}
  {% crispy form %}
  {% view_block 'after_fieldsets' %}
{% endblock %}
{'fraction_non_alphanumeric': 0.22287175739861162, 'fraction_numerical': 0.003653635367190354, 'mean_word_length': 5.166666666666667, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '5519075', 'n_tokens_mistral': 1085, 'n_tokens_neox': 941, 'n_words': 203}