{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing group (name and description only) *}
{if $action eq 2} {capture assign=crmURL}class="no-popup" href="{crmURL p="civicrm/group/search" q="reset=1&force=1&context=smog&gid=`$group.id`"}"{/capture} {ts 1=$crmURL}You can edit the Name and Description for this group here. Click Contacts in this Group to view, add or remove contacts in this group.{/ts} {else} {ts}Enter a unique name and a description for your new group here. Then click 'Continue' to find contacts to add to your new group.{/ts} {/if}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $group.created_by} {/if} {if $group.modified_by} {/if} {if $form.group_type} {/if}
{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_group' field='title' id=$group.id}{/if} {$form.title.html|crmAddClass:huge} {if $group.saved_search_id} ({ts}Smart Group{/ts}){/if}
{ts}Created By{/ts} {$group.created_by}
{ts}Modified By{/ts} {$group.modified_by}
{$form.description.label} {$form.description.html}
{ts}Group description is displayed when groups are listed in Profiles and Mailing List Subscribe forms.{/ts}
{$form.group_type.label} {$form.group_type.html} {help id="id-group-type" file="CRM/Group/Page/Group.hlp"}
{$form.visibility.label} {$form.visibility.html|crmAddClass:huge} {help id="id-group-visibility" file="CRM/Group/Page/Group.hlp"}
{$form.is_reserved.label} {$form.is_reserved.html} {ts}If reserved, only users with 'administer reserved groups' permission can disable, delete, or change settings for this group. The reserved flag does NOT affect users ability to add or remove contacts from a group.{/ts}
{$form.is_active.label} {$form.is_active.html}
{include file="CRM/Custom/Form/CustomData.tpl"}
{*CRM-14190*} {include file="CRM/Group/Form/GroupsCommon.tpl"}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{if $action neq 1} {/if} {literal} {/literal}