admin: avoid HTML button without type

This commit is contained in:
nemunaire 2018-11-18 21:34:08 +01:00 committed by Pierre-Olivier Mercier
commit 665fd301c6
17 changed files with 48 additions and 48 deletions

View file

@ -63,8 +63,8 @@
<ul ng-if="box.list">
<li ng-repeat="i in box.list">{{ i }}</li>
</ul>
<button class="btn btn-sm btn-success" ng-if="box.yes || box.no" ng-click="box.yes()">Yes</button>
<button class="btn btn-sm btn-danger" ng-if="box.yes || box.no" ng-click="box.no()">No</button>
<button type="button" class="btn btn-sm btn-success" ng-if="box.yes || box.no" ng-click="box.yes()">Yes</button>
<button type="button" class="btn btn-sm btn-danger" ng-if="box.yes || box.no" ng-click="box.no()">No</button>
</div>
</div>