accountant-ui/src/html/templates/account_edit.html
2013-02-07 15:00:31 +01:00

32 lines
1023 B
HTML

<!-- Dialog header with title -->
<div class="modal-header">
<h3>&Eacute;diter le compte {{account.name}}</h3>
</div>
<!-- Dialog body -->
<div class="modal-body">
<form class="form-horizontal">
<div class="control-group">
<!-- Account name field -->
<label class="control-label" for="inputName">Nom du compte</label>
<div class="controls">
<input type="text" id="inputName" ng-model="account.name"></input>
</div>
<!-- Authorized overdraft field -->
<label class="control-label" for="inputAuthorizedOverdraft">D&eacute;couvert authoris&eacute;</label>
<div class="controls">
<input type="text" id="inputAuthorizedOverdraft" ng-model="account.authorized_overdraft"></input>
</div>
</div>
</form>
</div>
<!-- Dialog footer with buttons -->
<div class="modal-footer">
<a href="#" class="btn btn-primary" ng-click="saveAccount(account, this)">OK</a>
<a href="#" class="btn" ng-click="cancelEditAccount(account, this)">Annuler</a>
</div>