Skip to content

Commit 9b358e7

Browse files
committed
ng directives
1 parent 9afa137 commit 9b358e7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/resources/views/admin/_index.blade.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@
3636

3737
<tbody>
3838
<tr ng-repeat="model in displayedModels">
39-
<td><typi-btn-delete ng-click="delete(model)"></typi-btn-delete></td>
40-
<td typi-btn-edit></td>
41-
<td typi-btn-status></td>
39+
<td typi-btn-delete action="delete(model)"></td>
40+
<td>
41+
@include('core::admin._button-edit')
42+
</td>
43+
<td typi-btn-status action="toggleStatus(model)" model="model"></td>
4244
<td>
4345
<img ng-src="@{{ model.thumb }}" alt="">
4446
</td>

0 commit comments

Comments
 (0)