-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedittemplate.html
37 lines (35 loc) · 1.57 KB
/
edittemplate.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
<td class="honoree">
<input type="hidden" ng-model="record.id">
<input class="form-control" ng-model="record.honoree" ng-blur="(record.id>0) && gregChange(record)">
</td>
<td><!-----greg date --------------------------------------->
<button type="button" class="btn btn-default" ng-click="opencal($event,record)">
<i class="glyphicon glyphicon-calendar"></i>
</button>
<select ng-model="record.greg_month"
ng-options="month.value as month.label for month in gregmonths"
ng-change="gregChange(record)"
class="form-control">
</select>
<input type="number" min="1" max="31" ng-model="record.greg_day"
ng-change="gregChange(record)" class="form-control day" />
<input type="number" ng-model="record.greg_year"
ng-change="gregChange(record)" class="form-control year" />
</td><!-- /greg date ------------------------------------->
<td> <!--- heb date --------------------------------------->
<select ng-model="record.heb_month"
ng-options="month.value as month.label for month in hebmonths"
ng-change="hebChange(record)"
class="form-control">
</select>
<input type="number" min="1" max="31" ng-model="record.heb_day"
ng-change="hebChange(record)" class="form-control day" />
<input type="number" ng-model="record.heb_year"
ng-change="hebChange(record)"
class="form-control year" />
</td><!-- /heb date-------------------------------------->
<td class="editcol">
<button type="button" ng-click="save(record);record.template='recordtemplate.html'">save</button>
<button type="button" ng-click="reset(record,origrecord)">cancel</button>
</td>
<td></td>