scottohara/loot

View on GitHub
src/og-components/og-modal-confirm/views/confirm.html

Summary

Maintainability
Test Coverage
<form role="form" name="confirmForm">
    <div class="modal-header">
        <h4>{{::vm.confirm.header}}</h4>
    </div>
    <div class="modal-body">
        <p>{{::vm.confirm.message}}</p>
    </div>
    <div class="modal-footer">
        <button
            class="btn btn-{{::vm.confirm.noButtonStyle}}"
            type="button"
            ng-click="vm.no()"
        >
            No
        </button>
        <button
            class="btn btn-{{::vm.confirm.yesButtonStyle}}"
            type="submit"
            ng-click="vm.yes()"
            autofocus
        >
            Yes
        </button>
    </div>
</form>