<commit_before>{% extends "ndf/base.html" %}
{% load i18n %}
{% load ndf_tags %}
{% load cache %}

{% block head %}
{{block.super}}
  <script src="/static/ndf/bower_components/jquery-ui/jquery-ui.js"></script> <!-- checked -->
  <script src="/static/ndf/bower_components/jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.min.js"></script> <!-- checked -->
  <script src="/static/ndf/bower_components/jqueryui-timepicker-addon/dist/jquery-ui-sliderAccess.js"></script> <!-- checked -->
  <link rel="stylesheet" href="/static/ndf/bower_components/jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.css"> <!-- checked -->
  <link rel="stylesheet" type="text/css" href="/static/ndf/bower_components/jquery-ui/themes/smoothness/jquery-ui.css"> <!-- checked -->
{% endblock %}

{% block title %} {% trans title|capfirst %} {% endblock %}

<!-- 
by keeping future perspective of one template for create/edit of group,
this template is modified. So for the fields in the template it supports -
- both create and edit of those fields.
 -->

{% block meta_content %}
  {% blocktrans %}
    <h3>Types of Groups</h3>
    <hr/>
    <h5>Open Groups</h5>
    <p class="subheader">Open groups are ideal for projects that require a high level of collaboration and participation. Any metastudio user can join this group without prior approval</p>
    <h5>Closed Groups</h5>
    <p class="subheader">Closed groups are ideal for projects that require restricted access to content and documents. Users can only join after their membership request is approved or have been invited.</p>
  {% endblocktrans %}
{% endblock %}


{% block body_content %}
  <h2 class="text-center">
    <small>
      {% if node %} Edit | {{node.name}}
      {% else %} 
        {% trans "Create " %}{{spl_group_type}}
      {% endif %}
    </small>
  </h2>
  <br/>

  <form id="create_group" class="" method="post"
  {% if node %} action="{% url 'edit_event_group' group_id spl_group_type %}"
  {% else %} action="{% url 'create_event_group' group_id spl_group_type %}"
  {% endif %}
  data-abide enctype="multipart/form-data">
    {% csrf_token %}<commit_msg>Display an alert with user confirmation reqd message when announcing form is submitted<commit_after>{% extends "ndf/base.html" %}
{% load i18n %}
{% load ndf_tags %}
{% load cache %}

{% block head %}
{{block.super}}
  <script src="/static/ndf/bower_components/jquery-ui/jquery-ui.js"></script> <!-- checked -->
  <script src="/static/ndf/bower_components/jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.min.js"></script> <!-- checked -->
  <script src="/static/ndf/bower_components/jqueryui-timepicker-addon/dist/jquery-ui-sliderAccess.js"></script> <!-- checked -->
  <link rel="stylesheet" href="/static/ndf/bower_components/jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.css"> <!-- checked -->
  <link rel="stylesheet" type="text/css" href="/static/ndf/bower_components/jquery-ui/themes/smoothness/jquery-ui.css"> <!-- checked -->
{% endblock %}

{% block title %} {% trans title|capfirst %} {% endblock %}

<!-- 
by keeping future perspective of one template for create/edit of group,
this template is modified. So for the fields in the template it supports -
- both create and edit of those fields.
 -->

{% block meta_content %}
  {% blocktrans %}
    <h3>Types of Groups</h3>
    <hr/>
    <h5>Open Groups</h5>
    <p class="subheader">Open groups are ideal for projects that require a high level of collaboration and participation. Any metastudio user can join this group without prior approval</p>
    <h5>Closed Groups</h5>
    <p class="subheader">Closed groups are ideal for projects that require restricted access to content and documents. Users can only join after their membership request is approved or have been invited.</p>
  {% endblocktrans %}
{% endblock %}


{% block body_content %}
  <h2 class="text-center">
    <small>
      {% if node %} Edit | {{node.name}}
      {% else %} 
        {% trans "Create " %}{{spl_group_type}}
      {% endif %}
    </small>
  </h2>
  <br/>

  <form id="create_group"  method="post"
  {% if node %} action="{% url 'edit_event_group' group_id spl_group_type %}"
  {% else %} action="{% url 'create_event_group' group_id spl_group_type %}"
  {% endif %}
  data-abide enctype="multipart/form-data" 
  {% if spl_group_type == "CourseEventGroup" %}
  onsubmit="return confirm('Announcement may take few minutes. Please do NOT refresh/reload/abort the page while processing. Do you really want to continue?');"
  {% endif %}

  >
    {% csrf_token %}
{'fraction_non_alphanumeric': 0.15762897914379803, 'fraction_numerical': 0.0043907793633369925, 'mean_word_length': 3.8519701810436633, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, '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': '4669760', 'n_tokens_mistral': 1508, 'n_tokens_neox': 1386, 'n_words': 381}