2015-03-22 09:08:38 +01:00
|
|
|
<!-- show details of a single Person (editing also take place here) -->
|
2015-03-21 16:48:00 +01:00
|
|
|
<div class="container-fluid">
|
|
|
|
<form ng-model="persondetails" ng-submit="save()">
|
|
|
|
<div class="input-group input-group-lg">
|
|
|
|
<span class="input-group-addon" id="basic-addon1">Name</span>
|
|
|
|
<input type="text" class="form-control" placeholder="Name" aria-describedby="basic-addon-2" value="{{person.name}}" ng-model="person.name" ng-required="1">
|
|
|
|
</div>
|
2015-03-15 23:05:59 +01:00
|
|
|
|
2015-03-21 16:48:00 +01:00
|
|
|
<div class="input-group input-group-lg top5">
|
|
|
|
<span class="input-group-addon" id="basic-addon1">Surname</span>
|
|
|
|
<input type="text" class="form-control" placeholder="Surname" aria-describedby="basic-addon1" value="{{person.surname}}" ng-model="person.surname">
|
|
|
|
</div>
|
2015-03-15 23:05:59 +01:00
|
|
|
|
2015-03-21 16:48:00 +01:00
|
|
|
<div class="input-group top5">
|
|
|
|
<span class="input-group-addon" id="basic-addon1">Email</span>
|
|
|
|
<input type="text" class="form-control" placeholder="root@example.com" aria-describedby="basic-addon1" value="{{person.email}}" ng-model="person.email">
|
|
|
|
</div>
|
2015-03-15 23:05:59 +01:00
|
|
|
|
2015-03-21 16:48:00 +01:00
|
|
|
<input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/>
|
|
|
|
</form>
|
|
|
|
</div>
|