Skip to content

Commit 1c50ace

Browse files
committed
Merge pull request #308 from maff/action-button-icon
add optional icon to action buttons
2 parents 5a3b80c + 0da7f44 commit 1c50ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/decorators/bootstrap/actions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
type="button"
1010
ng-disabled="form.readonly"
1111
ng-if="item.type !== 'submit'"
12-
ng-click="buttonClick($event,item)">{{item.title}}</button>
12+
ng-click="buttonClick($event,item)"><span ng-if="item.icon" class="{{item.icon}}"></span>{{item.title}}</button>
1313
</div>

0 commit comments

Comments
 (0)