Layout form controls inside controlgroup
Description
The following code shows how to layout form controls inside controlgroup.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.9.1.js'></script>
<script type="text/javascript"
src="http://code.jquery.com/mobile/1.3.0-beta.1/jquery.mobile-1.3.0-beta.1.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.3.0-beta.1/jquery.mobile-1.3.0-beta.1.css">
</head><!--from w w w . ja v a 2 s. c o m-->
<body>
<div data-role="page" id="landing">
<div data-role="content" style="text-align: center; padding-top: 50px">
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<legend>Team Information</legend>
<label for="select_team_city">City</label>
<input type="text" id="select_team_city" value="" placeholder="Type Team City" />
<label for="select_team_name">Name</label>
<input type="text" id="select_team_name" value="" placeholder="Type Team Name" />
</fieldset>
</div>
</div>
</div>
</body>
</html>