<div>

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

    %= form_for '/groups2' => (method => 'POST') => begin

	<p><h2>
	%=l 'MODIFY_USER_GROUP'
	</h2><br></p>

	<p>
	<span class="">
	%=l 'GROUP_NAME', class => ""
	</span>
	<span class="">
	%= $grp_datas->{group}, class => ""
	</span>
	</p>

	<p>
	%=l 'grp_GROUP_DESC_EXPL'
	<br><br>
	<span class="">
	%=l 'grp_GROUP_DESC', class => ""
	</span>
	<span class="">
	% param 'groupDesc' => $grp_datas->{description} unless param 'groupDesc';
	%= text_field 'groupDesc', class => ""
	</span>
	</p>

	<p>
	<span class="">
	%=l 'GROUP_MEMBERS', class => ""
	</span>
	<br>
    <span class="">
	% if ( $members->{'admin'} ) {
	    %= check_box 'groupMembers', value => 'admin', checked => undef
	%} else {
	    %= check_box 'groupMembers' => 'admin'
	%}
	Administrator (admin)
	<br>

    %	 my $users = $c->gen_users_list();
    %    foreach my $key ( sort keys %$users )
    %    {
	    % if ( $members->{ $key } ) {
		<!-- % = check_box 'groupMembers', value => $key, checked => 'checked' -->
		<input type='checkbox' name='groupMembers' checked value='<%= $key %>'>
	    %} else {
		%= check_box 'groupMembers' => $key
	    %}
	    %=$users->{$key} . " (" . $key . ")"
            <br>
    %    }
    </span>
	</p>

	<p>
	<br><br>
	%= submit_button "$btn", class => ""
	</p>

	%= hidden_field 'trt' => $grp_datas->{trt}
        %= hidden_field 'groupName' => $grp_datas->{group}
	
    % end    

</div>
