<div>
    <br>
    <!-- <h2><%#= l 'grp_FORM_TITLE' %></h2> -->

    <h2><%= l 'CREATE_GROUP' %></h2>
    <br>
    <%= l 'grp_GROUP_NAMING' %>
    <br><br>

    % my $btn = l('ADD');

    <form action="/smanager/groups2" method="POST">

        <div class="row g-3 align-items-center">
            <div class="col-md-2">
              <label for="inputGroupName" class="col-form-label"><%= l 'GROUP_NAME' %></label>
            </div>
            <div class="col-auto">
              <input type="text" name="groupName" id="inputGroupName" class="form-control" aria-describedby="GroupName"  >
            </div>
            <div class="col-auto">
              <span id="passwordHelpInline" class="form-text">
                Group
              </span>
            </div>
        </div>

        <br><br>

        <%= l 'grp_GROUP_DESC_EXPL' %>

        <br><br>

        <div class="row g-3 align-items-center">
            <div class="col-md-2">
              <label for="inputGroupDesc" class="col-form-label"><%= l 'grp_GROUP_DESC' %></label>
            </div>
            <div class="col-auto">
              <input type="text" name="groupDesc" id="inputGroupDesc" class="form-control" aria-describedby="GroupDesc"  >
            </div>
            <div class="col-auto">
              <span id="passwordHelpInline" class="form-text">
                Group Alias
              </span>
            </div>
        </div>

        <br>

        <div>
            <%= l 'GROUP_MEMBERS' %>
        </div>

        <br>
        <div>
            <%= check_box 'groupMembers' => 'admin' %>
            &nbspAdministrator (admin)
            <br>
            % my $users = $c->gen_users_list();
            % foreach my $key ( sort keys %$users ) {
                %= check_box 'groupMembers' => $key
                &nbsp
                %= $users->{$key}
                %= " (" . $key . ")"
                <br>
            % }
        </div>

        <br><br>

        <div class="row g-3 align-items-center">
            <div class="col-md-2">
                <button type="submit" class="btn btn-primary"><%= $btn %></button>
            </div>
        </div>

        %= hidden_field 'trt' => $grp_datas->{trt}
    </form>

</div>
