Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(datepicker): add type attribute for buttons
  • Loading branch information
bekos authored and pkozlowski-opensource committed Aug 1, 2013
1 parent ba1f741 commit 25caf5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions template/datepicker/datepicker.html
@@ -1,9 +1,9 @@
<table class="well well-large">
<thead>
<tr class="text-center">
<th><button class="btn pull-left" ng-click="move(-1)"><i class="icon-chevron-left"></i></button></th>
<th colspan="{{rows[0].length - 2 + showWeekNumbers}}"><button class="btn btn-block" ng-click="toggleMode()"><strong>{{title}}</strong></button></th>
<th><button class="btn pull-right" ng-click="move(1)"><i class="icon-chevron-right"></i></button></th>
<th><button type="button" class="btn pull-left" ng-click="move(-1)"><i class="icon-chevron-left"></i></button></th>
<th colspan="{{rows[0].length - 2 + showWeekNumbers}}"><button type="button" class="btn btn-block" ng-click="toggleMode()"><strong>{{title}}</strong></button></th>
<th><button type="button" class="btn pull-right" ng-click="move(1)"><i class="icon-chevron-right"></i></button></th>
</tr>
<tr class="text-center" ng-show="labels.length > 0">
<th ng-show="showWeekNumbers">#</th>
Expand All @@ -14,7 +14,7 @@
<tr ng-repeat="row in rows">
<td ng-show="showWeekNumbers" class="text-center"><em>{{ getWeekNumber(row) }}</em></td>
<td ng-repeat="dt in row" class="text-center">
<button style="width:100%;" class="btn" ng-class="{'btn-info': dt.isSelected}" ng-click="select(dt.date)" ng-disabled="dt.disabled"><span ng-class="{muted: ! dt.isCurrent}">{{dt.label}}</span></button>
<button type="button" style="width:100%;" class="btn" ng-class="{'btn-info': dt.isSelected}" ng-click="select(dt.date)" ng-disabled="dt.disabled"><span ng-class="{muted: ! dt.isCurrent}">{{dt.label}}</span></button>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 25caf5f

Please sign in to comment.