mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-16 16:25:54 +01:00
49 lines
1.5 KiB
HTML
49 lines
1.5 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="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>
|