Edit Country Record

This page uses a Hashtag Form to edit records for Countries.   The form is styled using Bootstrap 3 default theme classes.  


Processed this Hashtag Markup:
<# start form for countries <#[url.edit]#>;
	set form.class to "form-horizontal";
	when done redirect to "/company/countries?index=<# form.id #>";
#>

<div class="form-group">
	<label for="name" class="col-sm-3 control-label">Country Name</label>
	<div class="col-sm-5">
		<input type="text" <# Name #> required class="form-control" id="name">
	</div>
</div>
<div class="form-group">
	<label for="iso" class="col-sm-3 control-label">ISO Code</label>
	<div class="col-sm-5">
		<input type="text" <# ISO Code #> required maxlength="3" class="form-control" id="iso">
	</div>
</div>
<div class="form-group">
	<div class="col-sm-offset-3 col-sm-5">
		<input type="submit" <# Create button #> class="btn btn-primary">
		<input type="submit" <# Update button #> class="btn btn-primary">
		<input type="submit" <# Delete button #> class="btn btn-primary">
	</div>
</div>

<# end form #>

The Company Mini-App uses the Hashtag Markup Language to maintain multiple sets of records that relate to each other.

Records for Employees, Offices, and Countries are stored in an SQL Database.   Methods are provided to create, update, and delete any record.