delphimvcframework/samples/serversideviewsprimer/bin/templates/editperson.html

63 lines
1.9 KiB
HTML

<div class="row_fluid">
<div class="col-sm-12">
<form class="form form-horizontal" name="myForm" method="POST" action="/people">
<div class="row">
<div class="col-sm-offset-2 col-sm-8">
<h3>New Person</h3>
</div>
</div>
<div class="row">
<div class="form-group">
<label for="items" class="col-sm-2 control-label">Devices</label>
<div class="col-sm-4">
<select name="items" multiple class="form-control">
<option value="smartphone">smartphone</option>
<option value="dumbphone">dumbphone</option>
<option value="laptop">laptop</option>
<option value="desktop">desktop</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="form-group">
<label for="first_name" class="col-sm-2 control-label">First name</label>
<div class="col-sm-4">
<input type="text" class="form-control" id="first_name" placeholder="First name" name="first_name">
</div>
</div>
</div>
<div class="row">
<div class="form-group">
<label for="last_name" class="col-sm-2 control-label">Last name</label>
<div class="col-sm-4">
<input type="text" class="form-control" id="last_name" placeholder="Last name" name="last_name">
</div>
</div>
</div>
<div class="row">
<div class="form-group">
<label for="age" class="col-sm-2 control-label">Age</label>
<div class="col-sm-4">
<input type="number" class="form-control" id="age" placeholder="Age" name="age">
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-2">
<button type="button" class="btn btn-default btn-block" onclick="history.back()">Return to the list</button>
</div>
<div class="col-sm-2">
<button type="submit" class="btn btn-success btn-block">Save</button>
</div>
</div>
</form>
</div>
</div>