<commit_before>{% extends "ndf/node_details_base.html" %}
{% load ndf_tags %}
{% load i18n %}
{% block title %} {{title}} {% endblock %}
{% block url %}{% url 'create_edit' groupid node %}{% endblock %}
<script type="text/javascript">
  function stud(){
    alert("hello")
  }

</script>



<!-- overiding block from node_detail_base.html -->

{% block body_content %}
<header class="row page">
  <section class="medium-10 columns" >
    <h2>
      <span class='node'>{{node_name_human_readble}}</span>
      {% user_access_policy groupid request.user as user_access %}

      {% edit_policy groupid node request.user as status %}
      {% if user.is_authenticated and status == "allow" and user_access == "allow" %}
      {% user_access_policy groupid request.user as user_access %}
      {% if user.is_superuser or node.created_by == user.id %}
      <span><a class="button tiny" href="{% url 'edit' groupid node.pk %}">{% trans "Edit" %}</a>
      <a class="button alert tiny" href="{% url 'delete_batch' group_name_tag node %}?next={{request.path}}">{% trans "Delete" %} </a>
      </span>
      {% endif %}
      {% endif %}
    </h2>
    <h3 class="subheader"></h3>
      <small>
    {% with node.last_update|timesince as timesince %}
        {{timesince}} {% trans "ago edited by  " %}<a class="user">{% trans "User" %}</a> <a href="#view-changes"><i class="fi-clock"></i> {% trans "View history " %}</a>
      </small>{% endwith%}


  </section>
</header>
<div class="row">
<h3> Members: </h3>
{% for each in student_coll %}
<div>
{{each.name}}<br><br>
</div>
{% endfor %}
</div>
{% endblock %}



{% block meta_content %}
  <h2>{% trans "Batch" %}</h2>
{% endblock %}<commit_msg>Removed unnecessary code and properly indented existing code<commit_after>{% extends "ndf/node_details_base.html" %}
{% load ndf_tags %}
{% load i18n %}
{% block title %} {{title}} {% endblock %}
{% block url %}{% url 'create_edit' groupid node %}{% endblock %}

<!-- overiding block from node_detail_base.html -->

{% block body_content %}
  <header class="row page">
    <section class="medium-10 columns" >
      <h2>
        <span class='node'>{{node_name_human_readable}}</span>
        {% user_access_policy groupid request.user as user_access %}
        {% edit_policy groupid node request.user as status %}
        {% if user.is_authenticated and status == "allow" and user_access == "allow" %}
        {% user_access_policy groupid request.user as user_access %}
        {% if user.is_superuser or node.created_by == user.id %}
        <span><a class="button tiny" href="{% url 'edit' groupid node.pk %}">{% trans "Edit" %}</a>
        <a class="button alert tiny" href="{% url 'delete_batch' group_name_tag node %}?next={{request.path}}">{% trans "Delete" %} </a>
        </span>
        {% endif %}
        {% endif %}
      </h2>
      <h3 class="subheader"></h3>
        <small>
      {% with node.last_update|timesince as timesince %}
          {{timesince}} {% trans "ago edited by  " %}<a class="user">{% trans "User" %}</a> <a href="#view-changes"><i class="fi-clock"></i> {% trans "View history " %}</a>
        </small>{% endwith%}


    </section>
  </header>
  <div class="row">
  <h3> Members: </h3>
  {% for each in student_coll %}
    <div>
      {{each.name}}<br><br>
    </div>
  {% endfor %}
  </div>
{% endblock %}

{% block meta_content %}
  <h2>{% trans "Batch" %}</h2>
{% endblock %}
{'fraction_non_alphanumeric': 0.1966490299823633, 'fraction_numerical': 0.007054673721340388, 'mean_word_length': 3.335031847133758, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, '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': '3748065', 'n_tokens_mistral': 1239, 'n_tokens_neox': 1118, 'n_words': 293}