Rock.Web.UI.Controls.CheckinGroup.CreateGroupAttributeControls C# (CSharp) Method

CreateGroupAttributeControls() public method

Creates the group attribute controls.
public CreateGroupAttributeControls ( Group group, RockContext rockContext ) : void
group Group The group.
rockContext Rock.Data.RockContext The rock context.
return void
        public void CreateGroupAttributeControls( Group group, RockContext rockContext )
        {
            EnsureChildControls();

            _phGroupAttributes.Controls.Clear();

            if ( group != null )
            {
                if ( group.Attributes == null )
                {
                    group.LoadAttributes( rockContext );
                }
                Rock.Attribute.Helper.AddEditControls( group, _phGroupAttributes, true, this.ValidationGroup );
            }
        }