<commit_before>{meta_html css  $j_jelixwww.'design/jacl2.css'}

<h1>{@jacl2db_admin~acl2.groups.title@}</h1>

{ifacl2 'acl.group.modify'}

<p><a href="{jurl 'jacl2db_admin~groups:rights'}" class="btn">{@jacl2db_admin~acl2.groups.change.rights.link@}</a></p>

<form action="{formurl 'jacl2db_admin~groups:setdefault'}" method="post" class="form-inline">
<fieldset><legend>{@jacl2db_admin~acl2.groups.new.users.title@}</legend>
{formurlparam 'jacl2db_admin~groups:setdefault'}
    {foreach $groups as $group}
       <label class="checkbox inline"><input type="checkbox" name="groups[]" value="{$group->id_aclgrp}" {if $group->grouptype > 0}checked="checked"{/if}/> {$group->name}</label>
    {/foreach}
  <div class="form-actions">
    <input type="submit" value="{@jacl2db_admin~acl2.setdefault.button@}" class="btn"/>
  </div>
</fieldset>
</form>

<form action="{formurl 'jacl2db_admin~groups:changename'}" method="post" class="form-horizontal">
<fieldset><legend>{@jacl2db_admin~acl2.change.name.title@}</legend>
{formurlparam 'jacl2db_admin~groups:changename'}
  <div class="control-group">
    <div class="controls">
    <select name="group_id">
    {foreach $groups as $group}
        {if  $group->id_aclgrp != '__anonymous'}<option value="{$group->id_aclgrp}">{$group->name}</option>{/if}
    {/foreach}
    </select>
    </div>
  </div>

  <div class="control-group">
    <label class="control-label" for="newname">{@jacl2db_admin~acl2.new.name.label@}</label> 
    <div class="controls">
    <input id="newname" name="newname" />
    </div><commit_msg>Admin - Add user group id in main group edition page<commit_after>{meta_html css  $j_jelixwww.'design/jacl2.css'}

<h1>{@jacl2db_admin~acl2.groups.title@}</h1>

{ifacl2 'acl.group.modify'}

<p><a href="{jurl 'jacl2db_admin~groups:rights'}" class="btn">{@jacl2db_admin~acl2.groups.change.rights.link@}</a></p>

<form action="{formurl 'jacl2db_admin~groups:setdefault'}" method="post" class="form-inline">
<fieldset><legend>{@jacl2db_admin~acl2.groups.new.users.title@}</legend>
{formurlparam 'jacl2db_admin~groups:setdefault'}
    {foreach $groups as $group}
       <label class="checkbox inline"><input type="checkbox" name="groups[]" value="{$group->id_aclgrp}" {if $group->grouptype > 0}checked="checked"{/if}/> {$group->name} ({$group->id_aclgrp})</label>
    {/foreach}
  <div class="form-actions">
    <input type="submit" value="{@jacl2db_admin~acl2.setdefault.button@}" class="btn"/>
  </div>
</fieldset>
</form>

<form action="{formurl 'jacl2db_admin~groups:changename'}" method="post" class="form-horizontal">
<fieldset><legend>{@jacl2db_admin~acl2.change.name.title@}</legend>
{formurlparam 'jacl2db_admin~groups:changename'}
  <div class="control-group">
    <div class="controls">
    <select name="group_id">
    {foreach $groups as $group}
        {if  $group->id_aclgrp != '__anonymous'}<option value="{$group->id_aclgrp}">{$group->name}</option>{/if}
    {/foreach}
    </select>
    </div>
  </div>

  <div class="control-group">
    <label class="control-label" for="newname">{@jacl2db_admin~acl2.new.name.label@}</label>
    <div class="controls">
    <input id="newname" name="newname" />
    </div>
{'fraction_non_alphanumeric': 0.20956576463184393, 'fraction_numerical': 0.013845185651353053, 'mean_word_length': 5.89587852494577, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 90, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2010238', 'n_tokens_mistral': 1197, 'n_tokens_neox': 1190, 'n_words': 167}