Group Form

This page uses a Hashtag Form to edit Names for Member Groups.   The Form is styled using Bootstrap 3 default theme classes.   This #WebApp uses the Admins membership group to limit access, so this page includes controls to prevent granting access to admins.  



Processed this Hashtag Markup:
<# start form for groups <#[url.edit]#>;
	set form.class to "form-horizontal";
	when updating and ("<# form.name as uppercase #>"=="ADMINS") set name to "<# name #>";
	when done redirect to "/members/groups?index=<# form.id #>";
#>

<div class="form-group">
	<label for="name" class="col-sm-3 control-label">Group Name</label>
	<div class="col-sm-6">
		<input type="text" <# name #> required unique class="form-control" id="name">
	</div>
</div>
<div class="form-group">
	<div class="col-sm-offset-3 col-sm-6">
		<input type="button" <# Create button #> class="btn btn-primary">
		<input type="button" <# Update button #> class="btn btn-primary">
	</div>
</div>

<# end form #>

The Members Mini-App uses the Hashtag Markup Language to demonstrate a user authentication process for #WebApps.

Member, Group, and Group Membership records are all stored in an SQL Database.   Methods are provided to create, update, and delete all of these records.  

Members Only pages restrict access based on group membership.