/
createoffice.html
43 lines (43 loc) · 1.74 KB
/
createoffice.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<form class="form-horizontal well" ng-controller="CreateOfficeController" ng-submit="submit()">
<fieldset>
<legend>Create Office</legend>
<table>
<tr>
<td>
<div class="control-group">
<label class="control-label" for="name">{{ 'label.officename' | translate }}</label>
<div class="controls">
<input type="text" class="input-xlarge" ng-model="formData.name">
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group info">
<label class="control-label" for="office">{{ 'label.parentoffice' | translate }}</label>
<div class="controls">
<select class="input-xlarge" ng-model="formData.parentId">
<option ng-repeat="office in offices" value="{{office.id}}">{{office.name}}</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group">
<label class="control-label" for="externalId">{{ 'label.externalId' | translate }}</label>
<div class="controls">
<input type="text" name="externalId" class="input-xlarge" ng-model="formData.externalId">
</div>
</div>
</td>
</tr>
</table>
<div class="form-actions">
<button type="reset" class="btn">Cancel</button>
<button type="submit" class="btn btn-primary">Save</button>
</div>
</fieldset>
</form>